BenjV / SYNO-packages

43 stars 10 forks source link

After update permissions issue? #28

Open hugo-leij opened 3 years ago

hugo-leij commented 3 years ago

Dear,

Package center report that an update was available for SickChill, after the update I can no longer start SickChill. Has anything changed on the 'data' folder in terms of permissions?

Permissions

drwxrwxrwx 6 sc-sickchill sickchill    4096 Apr  3 14:04 .
drwxr-xr-x 7 sc-sickchill sickchill    4096 Apr  4 10:13 ..
drwxrwxrwx 4 sc-sickchill sickchill    4096 Feb 20 10:19 cache
-rw-r--r-- 1 sc-sickchill sickchill 2244608 Mar 17 21:59 cache.db
-rw-r--r-- 1 sc-sickchill sickchill    8720 Mar 17 22:37 cache.db-journal
-rwxrwxrwx 1 sc-sickchill sickchill   35159 Mar 17 22:49 config.ini
-rwxrwxrwx 1 sc-sickchill sickchill   28895 Sep 30  2020 congif_bak
drwxr-xr-x 2 root         root         4096 Apr  3 14:04 data
-rw-r--r-- 1 sc-sickchill sickchill   16384 Sep 30  2020 failed_bak
-rw-r--r-- 1 sc-sickchill sickchill    4096 Sep 30  2020 failed.db
drwxrwxrwx 2 sc-sickchill sickchill    4096 Mar 16 10:53 Logs
-rw-r--r-- 1 sc-sickchill sickchill   81920 Sep 30  2020 sickchill_bak
-rw-r--r-- 1 sc-sickchill sickchill 1327104 Mar 17 18:34 sickchill.db
-rw-r--r-- 1 sc-sickchill sickchill   81920 Sep 30  2020 sickchill.db.v44
-rw-r--r-- 1 root         root        13378 Apr  3 14:04 sickchill_install.log
-rw-r--r-- 1 sc-sickchill sickchill     602 Apr  6 08:52 sickchill.log
lrwxrwxrwx 1 sc-sickchill sickchill      31 Sep 30  2020 sickchill_package.log -> /var/log/packages/sickchill.log
drwxr-xr-x 8 sc-sickchill sickchill    4096 Feb 20 10:17 src

Log:

Starting sickchill command /volume1/@appstore/sickchill/env/bin/python3 /volume1/@appstore/sickchill/share/SickChill/SickChill.py --daemon --nolaunch --pidfile /volume1/@appstore/sickchill/var/sickchill.pid --config /volume1/@appstore/sickchill/var/data/config.ini --datadir /volume1/@appstore/sickchill/var/data
/volume1/@appstore/sickchill/share/SickChill/sickchill/locale
/volume1/@appstore/sickchill/share/SickChill/sickchill/locale
/volume1/@appstore/sickchill/share/SickChill/sickchill/locale
Data directory must be writeable: /volume1/@appstore/sickchill/var/data
kalokyeung commented 3 years ago

Have exactly the same issue :(

BenjV commented 3 years ago

The developer of SickChill was not happy with my package so he decided to create a package himself and added it to the SynoCommunity. So if you have the SynoCommunity in your package center registered, the package center will think that the SickChill package is updated and flags that in your Nas. If you then do an upgrade you get his package and not mine. Unfortunately that package does not start so it is not tested at all. Maybe that will be fixed sometime, I am not sure.

I have created a new version (1.3) that can be downloaded and installed manually. This will update that package with mine again. I hope the database en config are still ok, otherwise you could restore a backup or start from scratch.

I have changed the version number in such a way that the package will not be flagged from the wrong source anymore.

As a warning, never update an package that you installed manually if the package center tells you so, that is always another package because the package center has no way to see if a manually installed package has an update available.

kalokyeung commented 3 years ago

Thanks for the reply!

hugo-leij commented 3 years ago

He @BenjV

Thanks for the quick response and solution. Tested yesterday and the program is running again, unfortunately I lost my old data. Started from scratch again.