SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.02k stars 1.23k forks source link

DSM 6.0 Released - Report success/issues with packages here #2207

Closed GoodOmens83 closed 6 years ago

GoodOmens83 commented 8 years ago

Seems Synology has released DSM 6.0 (Just got notice to update).

Starting this topic to track all issues with packages etc. during the upgrade process.


Few things if you want to report a broken package:

Other things to note:


Broken: Haproxy, Myalr, transmission Working: Umurmur, pyload (after reboot), sonarr (after switching to official Mono package - see below)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

abraxxa commented 8 years ago

Reporting successful use of packages would also help users with the decision to upgrade now or later.

niawag commented 8 years ago

Hi and thanks for this topic, I'm having an issue with Haproxy package on DS215j. At first it just kept loading but never displayed my config, then I uninstalled/reinstalled it and now it won't start at all.

If there is anything I can provide I'd be glad to help!

lostkt87 commented 8 years ago

Mylar will not start on DSM 6.0 on ds716+.

anything you need, I'm here to help.

FesseCestMoi commented 8 years ago

Hi,

FFmpeg is partially working Umurmur is fully working

Subliminal is down.

I'm on DSM 6.0-7321

rp4k commented 8 years ago

after updating to DSM 6.0 RC (NOT BETA) the packages install but fail to start. and there is no syslog

SabNZB Beta v1.0.0-15 SabNZB v0.7.20-14 DS716+

M0UL commented 8 years ago

sonarr wont start

thezoggy commented 8 years ago

looking at r4k's box right now via vnc..

installing latest sab testing package, /var/log/synopkg.log shows:

2016/03/25 02:13:17     install sabnzbd-testing 1.0.0-5 successfully
2016/03/25 02:13:20     install sabnzbd-testing: begin to start version 1.0.0-5
2016/03/25 02:13:22     stop sabnzbd-testing: begin to stop version 1.0.0-5
2016/03/25 02:13:22     stop sabnzbd-testing: stop version 1.0.0-5 successfully, result 0
2016/03/25 02:13:25     install sabnzbd-testing: start version 1.0.0-5 failed, result 272

/var/log/messages we see:

Mar 25 02:13:12 Rp4k synoscgi_SYNO.Core.Package.Installation_1_install[21573]: resource_api.cpp:163 Acquire service-cfg for sabnzbd-testing when 0x0001 (done)
Mar 25 02:13:21 Rp4k [14403.825364] init: pkgctl-sabnzbd-testing pre-start process (22040) terminated with status 1
Mar 25 02:13:21 Rp4k synoscgi_SYNO.Core.Package.Control_1_start[21573]: servicecfg_internal_lib.c:187 Failed to start job [pkgctl-sabnzbd-testing][0xD900 manager.cpp:145]
Mar 25 02:13:22 Rp4k synoscgi_SYNO.Core.Package.Control_1_start[21573]: service_initjob_action.c:27 InitJobStart failed, [0xD900 manager.cpp:145]
Mar 25 02:13:22 Rp4k synoscgi_SYNO.Core.Package.Control_1_start[21573]: pkgstartstop.cpp:253 Failed to start pkgctl-sabnzbd-testing (err=-1) [0xD900 manager.cpp:145]
jaybeedk commented 8 years ago

when attempting to install and start transmission on DS411+II (Intel Atom D525) after full factory reset on DSM 6.0-7321 with new, empty disks = transmission on completely clean DSM 6 install.

from /var/log/messages:

Mar 24 18:45:12 DiskStation [ 3523.159098] init: pkgctl-transmission pre-start process (23198) terminated with status 1
Mar 24 18:45:12 DiskStation synoscgi_SYNO.Core.Package.Control_1_start[23170]: servicecfg_internal_lib.c:187 Failed to start job [pkgctl-transmission][0x0700 resource.cpp:116]
Mar 24 18:45:13 DiskStation synoscgi_SYNO.Core.Package.Control_1_start[23170]: service_initjob_action.c:27 InitJobStart failed, [0x0700 resource.cpp:116]
Mar 24 18:45:13 DiskStation synoscgi_SYNO.Core.Package.Control_1_start[23170]: pkgstartstop.cpp:253 Failed to start pkgctl-transmission (err=-1) [0x0700 resource.cpp:116]
rfrowe commented 8 years ago

Sonarr won't start. When I try to run the Mono executable directly at /usr/local/mono/bin/mono all I get is Segmentation Fault. The Mono now available through Synology still works however, so you can modify the Sonarr startup script to use that executable.

In /var/packages/nzbdrone/scripts/start-stop-status do the following changes:

MONO_PATH="/usr/local/mono/bin"
MONO="${MONO_PATH}/mono"

to

#MONO_PATH="/usr/local/mono/bin"
MONO_PATH="/var/packages/Mono/target/usr/bin"
MONO="${MONO_PATH}/mono"
Thireus commented 8 years ago

Pyload fails to start right after install.

Edit: Reboot of the system is needed. Pyload works well after reboot.

neoatomic commented 8 years ago

Not working on a fresh DSM 6 install (ds415+) :

Sickbeard-custom ZNC NZBGet

The files/folders are populated, but packages don't want to start. Looks to be related to the creation of accounts/permissions.

synopkg.log: http://pastebin.com/raw/NBNw6SnJ

Popsikill commented 8 years ago

DSM: DSM 6.0-7321

Device: DS1813+

Successful packages: SABnzbd 0.7.2.14 CouchPotato Custom c4fad95c (2/25/2016, 1:05:59 AM) Sonarr 2.0.0.3953

Notes: I have Sonarr running on the beta package of Mono 4.2.1.106-2

alsdfjldafsjalsfjk commented 8 years ago

DS213J - DSM 6.0-7321

Working: Couchpotato - 20140604-4 Nzbget - 16.4-21 Transmission - 2.92-12

NOT working: Sonarr - 20150731-8

Oxize commented 8 years ago

DS214+ DSM 6.0-7321

Not working: Gateone 20151116-6 Madsonic 6.x

DSM 6.x Login page is screwed up.

rp4k commented 8 years ago

how did you guys get sabnzb to start the package seems to have the wrong user permission even after creating a special account for sabnzbd in user and in group

tjbrid43 commented 8 years ago

Sabnzbd only works if it was installed prior to upgrading. Clean installation of DSM 6.0-7321 and the package service fails to run.

not working sabnzbd 0.7.20-14 + 1.0.0-5

QWp6t commented 8 years ago

I'm getting this with ruTorrent.

Unpack plugin: rTorrent user can't access 'unzip' program.

Unlike others who have had this issue, I only get this with unzip (as opposed to all external programs).

SSHing into NAS and doing which unzip yields no results. Also tried sudo su - http -c "which unzip" and sudo su - rutorrent -c "which unzip". No dice. I guess DSM 6 got rid of unzip?

Edit The following are working, however: nzbGet, Sonarr, and Mono (beta).

bigmal commented 8 years ago

I got Sonarr to run by executing using the Synology version of mono. /var/packages/Mono/target/usr/bin/mono /usr/local/nzbdrone/share/NzbDrone/NzbDrone.exe

However I'm a noob and when I close my terminal session it shut's down the sonarr app. Is there a way to execute apps from the cli but are not dependant on the cli session being open?

rfrowe commented 8 years ago

@bigmal try my solution. Note that after modifying the script, it won't work in the command line such as . /start-stop-status start. After changing the mono path and installing the synology mono package, starting Sonarr from the DSM Web interface should work. Those are the only changes I made to mine to get it to work.

jetersen commented 8 years ago

@DontTurnAround suggestion definitely works. DS213j. Wish I hadn't uninstalled Sonarr with no backup...

Mono definitely hangs for a bit when starting Sonarr up but DS213j doesn't have the most powerful CPU, so understandable. It reports as not running for a bit but gets going after a few minutes. CPU is stuck to 99% in the meanwhile.

bigmal commented 8 years ago

I still can't get it to run from the web interface even after making the changes to the start-stop script.

The web interface has a status of stopped and never starts up. DS213j for me too.

jetersen commented 8 years ago

@bigmal Are you sure your changes persist? Using vim you have to press escape after insert and then type ":write" and press enter for it to save the changes.

sudo vi /var/packages/nzbdrone/scripts/start-stop-status

You could also try to install nano - a simpler terminal text editor - part of synocommunity

sudo nano /var/packages/nzbdrone/scripts/start-stop-status press ctrl+x and press y to save.

rfrowe commented 8 years ago

@bigmal Temp solution:

cd /volume1/@appstore/nzbdrone/bin;
PATH=/var/packages/Mono/target/usr/bin:/usr/local/nzbdrone/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin:/opt/bin:/opt/sbin;
LD_LIBRARY_PATH=/usr/local/nzbdrone/lib;
nohup var/packages/Mono/target/usr/bin/mono /usr/local/nzbdrone/share/NzbDrone/NzbDrone.exe &;
bigmal commented 8 years ago

@casz Yup changes were persisting, it just wouldn't start from the web interface. I tried rebooting, checking changes were still present, still wouldn't work.

@DontTurnAround Thanks for that, that workaround did the trick. This should see me right until a fix is released (which I'm assuming is just a new version of mono).

Thank you both for your help.

Mace68 commented 8 years ago

Hello folks, I was wondering if I could get feedback on the following packages' success/failure on the official DSM 6.0 release if you have any of them installed.

Thanks!

niawag commented 8 years ago

@Mace68 for me Flexget and Python are working, I'm not using the others (DS215j, upgraded from working packages on DSM5.2)

Dr-Bean commented 8 years ago

I'm going to leave this one open for now, so everyone can vent their issues. From a troubleshooting perspective, this format is useless though. We'll break out to issues per (set of) package.

Few things if you want to report a broken package:

Other things to note:

PietdeV commented 8 years ago

DS112+ Debian Chroot Was working on latest v5 DSM from Synology, upgraded the day the DSM v6 came out.

Now crontab is not executed and (as above) syslog etc is not working. From Main Menu on DSM selecting Debian Chroot Console will result in a not responding window. Services scheduled to start with Chroot are gone

Zizit25 commented 8 years ago

Hi All, DS415play - DSM 6.0-7321 Clean install of DSM6 Rutorrent 3.6.6 not available in the package center. (I suppose because of my model & DSM version) Transmission 2.92-12 : Installation can be done, but at the end, when the package will start, here the error : Failed when trying to repair the package

afeblot commented 8 years ago

@Zizit25 Last time I checked, the ruTorrent package was in beta. You did activate displaying beta packages in the synology package center, right?

cytec commented 8 years ago

@FesseCestMoi how is ffmpeg "partitially" broken? :D

evtk commented 8 years ago

@DontTurnAround Your solution to get Sonarr working again works like charm. Thanks!. Should/could we safely delete the monopackage from synocommunity?

I had a few issues getting other packages running again as well. I had configured all my packages to run as a specific user, to prevent read/write problems. After installation DSM 6, I had to reset this user to use /bin/sh again, instead of /sbin/nologin.

I also had to set up the symbolic link to the homes folder on my Synology. I don't want to enable user home dir service, but packages rely on this. I had it fixed by creating the following sym link:

ln -s /volume1/homes/ /var/services/homes

Also, for the sonarr package I had to recreate the sym link to the .config directory (see why here):

ln -s /volume1/@appstore/nzbdrone/var/.config /var/services/homes/*username*/.config (change the username to the user you are running sonarr with).

only issues remains AutoSub BootstrapBill, which actually runs, but the packager manager says it doesn't.

Hope the above tips helps some of you!

jyboo commented 8 years ago

Hi,

Broken: Tiny tiny RSS with DSM 6.0 (the feed update daemon is not working anymore)

Zizit25 commented 8 years ago

@afeblot Sorry my bad ;) forget that part.

smreka commented 8 years ago

@afeblot could you then try ruTorrent and let us know if it works? That would be awesome. :)

Thanks in advance!

hanskokx commented 8 years ago

Tossing my hat in the ring for tt-rss being dead. I fixed a bunch of stuff manually (looks like some of the changes that were made in the repo but never pushed to the feeds?), but the update daemon is dead.

Please add your model

DS-1813+

Did you upgrade from a working package on DSM5 (or earlier) to DSM6, or did you do a package install on a clean DSM6.

No upgrade package is available.

I documented my procedure of getting tt-rss back up and running (sans update daemon, apparently) here: https://hadak.wordpress.com/2016/03/24/fixing-tt-rss-for-synology-dsm-6-0/

afeblot commented 8 years ago

@smreka I'm not a bleeding edge guy; I'll wait a couple of months and minor upgrades before I upgrade to DSM 6.x.

smreka commented 8 years ago

My bad @afeblot I accidentally tagged you. I wanted to tag @Zizit25 if he could try ruTorrent now that he found it.

Sorry :)

Dr-Bean commented 8 years ago

I have extended the first post with a set of 'rules' ;) . Please read before posting.

Sjeff commented 8 years ago

DS213+ DSM 6.0-7321 Did a second restart after the update to 6.0-7321 Packages not working : (package stop working after the update. No clean install) CouchPotato Custom 20140604-4 NZBGet 16.4.-21 SickBeard Custom 20151220-4

Packages working : Git 2.7.4-8 Git Server 2.6.4-0110 Nano 2.5.1-2 Python 2.7.11-15

thatgim commented 8 years ago

Since my upgrade to DSM 6.0-7321 selfoss seems inable to write new entries to mariadb. Reading data seams fine. Even altering (e.g. changing read/unread) existing entries works.

I connect via ssh and executed the update script which resulted in den following error:

PHP Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in /volume1/web/selfoss/libs/f3/db/sql.php on line 397
Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND'

Versions: mariadb 5.5.47-0064 selfoss 2.13-6 DSM 6.0-7321 on a DS413

GoodOmens83 commented 8 years ago

@gimbar Look here: http://stackoverflow.com/questions/2424343/undefined-class-constant-mysql-attr-init-command-with-pdo

Although I think DSM6 broke up the installation of Webstation where mysql is not always installed. Poke around the webstation settings and report back. Also not all features for PHP might not be enabled.

thatgim commented 8 years ago

@GoodOmens83 Tried it but the suggested module isn't present on my DS413.

GoodOmens83 commented 8 years ago

@gimbar two things - what's the output of ls -la /usr/lib/php/modules

And you can't enable / don't see pbo_dblib?
jwkhybnhjjr8uaveaczfibal Note: Just pulled this screenshot from the web - I think it's from Beta

If that's the case (for the time being) you might have to email Synology. This release has broken a lot of things.

thatgim commented 8 years ago
ls -la /usr/lib/php/modules/
total 960
drwxr-xr-x 2 root root   4096 Mar 25 06:08 .
drwxr-xr-x 5 root root   4096 Mar 25 06:08 ..
-rwxr-xr-x 1 root root  28596 Mar 23 05:34 bcmath.so
-rwxr-xr-x 1 root root  19180 Mar 23 05:34 bz2.so
-rwxr-xr-x 1 root root  81016 Mar 23 05:34 curl.so
-rwxr-xr-x 1 root root  36036 Mar 23 05:34 iconv.so
-rwxr-xr-x 1 root root  55976 Mar 23 05:34 ldap.so
-rwxr-xr-x 1 root root  39272 Mar 23 05:34 mcrypt.so
-rwxr-xr-x 1 root root 122672 Mar 23 05:34 openssl.so
-rwxr-xr-x 1 root root  22732 Mar 23 05:34 pdo_sqlite.so
-rwxr-xr-x 1 root root 259204 Mar 23 05:34 phar.so
-rwxr-xr-x 1 root root  24456 Mar 23 05:34 posix.so
-rwxr-xr-x 1 root root  10564 Mar 23 05:34 shmop.so
-rwxr-xr-x 1 root root  80792 Mar 23 05:34 sockets.so
-rwxr-xr-x 1 root root  42360 Mar 23 05:34 sqlite3.so
-rwxr-xr-x 1 root root  17840 Mar 23 05:34 syno_compiler.so
-rwxr-xr-x 1 root root 112688 Mar 23 05:34 zip.so

dbo_dblib and dbo_mysql are present and enabled. But even "disabling booth->save->enable booth->save" did nothing to /usr/lib/php/modules

hanskokx commented 8 years ago

Do not discuss elaborate workarounds here. This is a bugtracker, not a discussion forum. Use the Synology forums for that;

Would you guys mind taking this conversation to another thread?

thatgim commented 8 years ago

Sure thing. I created an issue by mistake. Good thing it's useful now: #2210

akafester commented 8 years ago

DS415+ DSM 6.0-7321

Working: Transmission 2.92-12 Mono from SynoCommunity 4.2.2.30-7 Homeassistant 20150526-1 Couchpotato 20141013-6

Not working: Sonarr 2.0.0.3953

Error: Sonarr starts up fine, every setting is working and kept, but when a show is added sonarr can't index from disk.

Tried: Reboot tried multiple times. Both SC-Mono and Sonarr has been reinstalled. Sonarr has been pointed towards official Mono package. Correct permissions has been set on the path where the shows has been located.

Log: System.UnauthorizedAccessException: Access to the path "/volume1/Serier/The Walking Dead/Season 01" is denied. at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00063] in /source/mono-3.x/mcs/class/corlib/System.IO/Directory.cs:498 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000] in /source/mono-3.x/mcs/class/corlib/System.IO/Directory.cs:296 at System.IO.Directory.GetFilesRecurse (System.String path, System.String searchPattern, System.Collections.Generic.List1 all) <0x421c8d90 + 0x0002b> in <filename unknown>:0 at System.IO.Directory.GetFilesRecurse (System.String path, System.String searchPattern, System.Collections.Generic.List1 all) [0x0001f] in /source/mono-3.x/mcs/class/corlib/System.IO/Directory.cs:312 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, SearchOption searchOption) [0x00014] in /source/mono-3.x/mcs/class/corlib/System.IO/Directory.cs:304 at NzbDrone.Common.Disk.DiskProviderBase.GetFiles (System.String path, SearchOption searchOption) [0x0003e] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Disk\DiskProviderBase.cs:142 at NzbDrone.Core.MediaFiles.DiskScanService.GetVideoFiles (System.String path, Boolean allDirectories) [0x00019] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\MediaFiles\DiskScanService.cs:127 at NzbDrone.Core.MediaFiles.DiskScanService.Scan (NzbDrone.Core.Tv.Series series) [0x00131] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\MediaFiles\DiskScanService.cs:103 at NzbDrone.Core.MediaFiles.DiskScanService.Handle (NzbDrone.Core.Tv.Events.SeriesUpdatedEvent message) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\MediaFiles\DiskScanService.cs:165 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](NzbDrone.Core.Messaging.Events.TEvent event) [0x000c5] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:56

EDIT: Okay. I got this to work. At the moment Sonarr is running on the Synology version of Mono. Not a big deal, and isn't about to try out the SynoCommunity version at the moment.

I tried to repair the permission and got nowhere but what did work was this:

  1. Get Sonarr to run on the Synology Mono package (although i don't think this is necessary)
  2. Set ownership on your series folder(s); sudo chown -R nzbdrone:users /path/to/folder
  3. Set permissions on said folder; sudo chmod -R 774 /path/to/folder

I'm using sudo because i can't ssh as root as of 6.0 but no biggie, using sudo gives the exact same possibilities. I really first got Sonarr to work after setting the permissions to 774. Before that they were 777 and sonarr gave before mentioned error.

I was running on the beta versions of 6.0 and sonarr was running on my 415+. After the official launch of 6.0 the problems began and i had a brief moment where i uninstalled both mono packages and sonarr.

Sjeff commented 8 years ago

I was brought here while looking for a solution for my no-longer-working transmission install after upgrading to DSM 6.0.

I am running transmission on a specific user "auto".

Turns out, the su command in start-stop-status now needs the specified user to have a valid shell.

So... maybe you need to change your user's shell from /sbin/nologin to /bin/sh

root@ds:~# vi /etc/passwd auto: x:1039: 100:Automation:/var/services/homes/auto:/bin/sh

This fixed the job for me.

Mukrosz commented 8 years ago

Similar issues with this update.

  1. cant SSH/Telnet as root anymore(admin username isn't blank) (fixed)
  2. The custom username I use for sonarr, cp, nzbget changed in /etc/passwd to /sbin/nologin so i changed it to /bin/sh. Nzbget works after that change. However, after Synology restart, its back to /sbin/nologin and nzbget fails to start. Any ideas?
  3. sonarr fails to start. As described ealier in this thread, I was able to get it to start by installing Mono from Synology package and changing paths in start-stop-status BUT now sonarr completely lost all settings.