alexandregz / gogs-spk

spk (Synology package) to install gogs into Synology NAS
MIT License
54 stars 48 forks source link

Failed to install package [Gogs] #9

Closed icnicl closed 4 years ago

icnicl commented 4 years ago

I'm trying to install Gogs to my Synology Diskstation DS213j (DSM-Version DSM 6.2.2-24922 Update 3).

I get the "Installing" progress prompt for a minute or two, but then I always get the message 'Failed to install "Gogs".'

Logfile /var/log/synopkg.log

2019/10/22 22:07:34     install Gogs 0.9.13 Begin preinst
2019/10/22 22:07:34     install Gogs 0.9.13 End preinst ret=[1]
2019/10/22 22:07:34     install Gogs 0.9.13 Begin /bin/rm -rf /volume1/@tmp/pkginstall
2019/10/22 22:07:36     install Gogs 0.9.13 End /bin/rm -rf /volume1/@tmp/pkginstall ret=[0]
2019/10/22 22:07:36     install Gogs 0.9.13 failed

and /var/log/messages

2019-10-22T22:07:34+02:00 NDS synoscgi_SYNO.Core.Package.Installation_1_install[19023]: process.cpp:236 Failed to run preinst, ret=[-1], No such file or directory
2019-10-22T22:07:34+02:00 NDS synoscgi_SYNO.Core.Package.Installation_1_install[16638]: pkginstall.cpp:481 Failed to run preinst script for Gogs, 1

Messages say "Failed to run preinst, No such file or directory". Is there a problem with unpacking the gogs.spk on my DS? I'm clueless what to do.

Any help appreciated.

thx

icnicl commented 4 years ago

i managed to install it directly on my maschine by connecting via ssh and using

sudo synopkg install <path to .spk-file>

everything works fine now.