SynoCommunity / spksrc

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

SABnzbd 0.7.17-8 after Update no Program Icon on DS412+ --> Cant access SAB #938

Closed cuverysoon closed 10 years ago

cuverysoon commented 10 years ago

Please Help, after updating to the current version, see title, the SABNZBD Program Icon in the Main Menu disappeared. After not finding any solution in the internet, I deinstalled SAB and reinstalled it again. Still the same problem. No Icon.

SAB also cant create any folders like Incomplete.

I am running on DSM 5.0-4458 Update 2. In the Paket-Center ist says that SAB ist running.

Can anyone help?

moneytoo commented 10 years ago

I have the same issue with all packages except tvheadend. It shows fine with clean install of DSM 5 but not with my upgraded DSM 4.3 to 5. Uninstall and new install also doesn't help. I'm not sure what's causing this. For now I use Package center to access package links.

Dr-Bean commented 10 years ago

On the missing icon: are you logged in as an administrator/member of the administrators group? If not, you will have to allow your user access to SAB. You can do that via Control Panel>Privileges.

On the folder creation: Can you provide a relevant portion of the log SAB provides (assuming that's where you got the information in the first place). Additionally, are you familiar with the command line or Putty?

/edit @moneytoo...hm. Weird...config should still work the same...

Dr-Bean commented 10 years ago

@moneytoo Can you check if the symlinks to the packages are still available in /usr/local/syno/synoman/webman? I'll set up a testmigration from 4.3 to 5, see if I can reproduce anything.

cuverysoon commented 10 years ago

@dr-Bean Yes, logged in as memeber of the ADMIN Group. Directly after install I was able to access sab via the browser. But nothing would save in the Settings e.g. watched folder.

I have putty. If you tell me the commands for putty, I can enter them. But I am not familiar with Linux as such.

cuverysoon commented 10 years ago

@Dr-Bean Problem one solved --> I had to add SAB to my Priviliges again. Icon is back.

I still cant do any changes in the settings.

Dr-Bean commented 10 years ago

Perfect. On the second issue, I wanted to ask you for the logs of SAB. You can find these in /usr/local/sabnzbd/var/logs. Put them up on https://gist.github.com/, and post the link here. Maybe the easiest way is to use WinSCP to access the file, if you're running on Windows.

cuverysoon commented 10 years ago

@Dr-Bean sorry, took a while, had to check out the WINSCP how it works. Thanks a lot for your help in advance.

Link for the sabnzbd.log: https://gist.github.com/cuverysoon/1f627a677d6c78f7b8ae The sabnzbd.error.log is empty.

Dr-Bean commented 10 years ago

Did you create a shared folder, in the Synology GUI, called "Downloads", and is it located on volume4?

If not, you should do that before installing the package. We set certain permissions during package installation. If you did create the shared folder, then check the permissions on it. Via putty, type: ls -al /volume4/Downloads, , and paste the output here.

cuverysoon commented 10 years ago

@Dr-Bean The Downloads folder exists on Volume 4 and was used perfectly by SAB before the update. I Basically did the update cause the Synology showed that there is an update.

drwxrwxrwx 3 root root 4096 Apr 19 14:50 #recycle drwxrwxrwx 9 root users 4096 Apr 19 16:58 . drwxr-xr-x 8 root root 4096 Apr 19 17:51 .. drwxrwxrwx 2 root users 4096 Jul 9 2013 @eaDir drwxrwxrwx 2 Mike users 4096 Apr 19 16:58 Incomplete drwxrwxrwx 2 Mike users 4096 Dec 3 19:48 Musik -rwxrwxrwx 1 Mike users 0 Jul 5 2013 My Job {{PW}}.nzb.txt drwxrwxrwx 3 Mike users 4096 Apr 19 16:56 Neue NZBs drwxrwxrwx 2 Mike users 20480 Apr 7 10:33 ScanStation -rwxrwxrwx 1 Mike users 65024 Sep 14 2013 Thumbs.db drwxrwxrwx 6 Mike users 4096 Apr 17 11:03 complete

Dr-Bean commented 10 years ago

The update would have worked, if it weren't for the missing icon, right?

Just noticed something in the logs you provided though. Linux is case-sensitive. If you actually entered /Volume4/Downloads in the SABnzbd wizard, you might have meant to use /volume4/Downloads (note the lower-case 'V') Try and change that in the SAB interface, and give that a go.

cuverysoon commented 10 years ago

Yes, it would have worked , and I would have had my entire configuration...... I just changed it to a "v" and I could save the different folders........

You've got an eagle eye !!!! But than again I would not have know the case sensitivity in Linux.

Thanks a lot for your help !!!!!!! Have a great easter ! And I have learned a lot. Thanks.

Dr-Bean commented 10 years ago

Sorry for the inconvenience, but I'm glad it's solved :)

To help out others in the future, I'll add a check to the package: if it cannot find the folder you want to use, it will provide a message to correct that first. That should prevent similar issues.

cuverysoon commented 10 years ago

No inconvenience.... I've learned a lot and maybe other users won't be as stupid as me ;-)

Great help and support !!!!

moneytoo commented 10 years ago

@Dr-Bean It works after granting privileges to apps for my user (member of administrator group).

Dr-Bean commented 10 years ago

Ah, ok. For some reason, I was under the impression that "allUsers" = true applied to all members of the administrators group, but it only applies to system user admin, according to documentation.

All other users, member of administrators or not, must be given express permission via Privileges. Well, good to know.

Added directory existence check with 124ff0fd69b2ac99425fbde7de1c6765e42d0c38