{"action":"created","issue":{"url":"https://api.github.com/repos/duplicati/duplicati/issues/1981","repository_url":"https://api.github.com/repos/duplicati/duplicati","labels_url":"https://api.github.com/repos/duplicati/duplicati/issues/1981/labels{/name}","comments_url":"https://api.github.com/repos/duplicati/duplicati/issues/1981/comments","events_url":"https://api.github.com/repos/duplicati/duplicati/issues/1981/events","html_url":"https://github.com/duplicati/duplicati/issues/1981","id":181171502,"number":1981,"title":"Unable to install SPK installer on Synology","user":{"login":"martva","id":15815764,"avatar_url":"https://avatars1.githubusercontent.com/u/15815764?v=4","gravatar_id":"","url":"https://api.github.com/users/martva","html_url":"https://github.com/martva","followers_url":"https://api.github.com/users/martva/followers","following_url":"https://api.github.com/users/martva/following{/other_user}","gists_url":"https://api.github.com/users/martva/gists{/gist_id}","starred_url":"https://api.github.com/users/martva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martva/subscriptions","organizations_url":"https://api.github.com/users/martva/orgs","repos_url":"https://api.github.com/users/martva/repos","events_url":"https://api.github.com/users/martva/events{/privacy}","received_events_url":"https://api.github.com/users/martva/received_events","type":"User","site_admin":false},"labels":[{"id":119616033,"url":"https://api.github.com/repos/duplicati/duplicati/labels/bug","name":"bug","color":"f7c6c7","default":true},{"id":424578768,"url":"https://api.github.com/repos/duplicati/duplicati/labels/pending%20user%20feedback","name":"pending user feedback","color":"5319e7","default":false},{"id":571910800,"url":"https://api.github.com/repos/duplicati/duplicati/labels/Synology","name":"Synology","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-05T14:30:19Z","updated_at":"2017-08-11T10:46:42Z","closed_at":null,"body":"I have:\n- [ X ] searched open and closed issues for duplicates\n  And found a similar issue in this repository. I also post a reply on that post, but no answer or possible solution was given yet. \n\n**Duplicati Version:** 2.0.1.26\n**Operating System:** Synology DSM 5.2-5967 Update 1\n**Model:** DS3615xs\n**Backend:** Synology SHR (4 disks)\n### Bug description\n\nWhen installing the package duplicati-2.0.1.26_canary_2016-09-29.spk using the Package Center in the DSM webgui it comes back with an error \"Invalid File Format\". \n### Steps to reproduce\n- Start Package Manager\n- Click Manual Install\n- Browse to package and Select\n- Accept License Agreement\n- Click Apply\n\nLooking at the CLI I see the following:\nChecking Tmp upload dir I see a file called upload_tmp.4170\n\n```\nBignasventi> pwd\n/volume1/@tmp\nBignasventi> ll\ndrwxrwxrwt   19 root     root          4096 Oct  5 16:10 .\ndrwxr-xr-x   32 root     root          4096 Sep 20 16:01 ..\n-rw-r--r--    1 root     root             0 Sep 20 16:01 57E1412DE38877D6\ndrwxrwxrwx    3 root     root          4096 Oct  5 16:10 57F509C1C3E69213\ndrwxr-xr-x   20 root     root          4096 Sep 20 16:01 @pplepriv@te\ndrwxrwxrwx    3 root     root          4096 Sep 26 20:01 @synopkg\ndrwxr-xr-x    2 root     root          4096 Sep 26 18:55 jna-3506402\ndrwxrwxrwx    3 root     root          4096 Oct  5 15:34 pkglist.tmp\n-rwxrwxrwx    1 root     root      23315456 Oct  5 16:10 upload_tmp.4170\n```\n\nA directory is then made called 57F509CD7A1A5157, but is and stays empty\nThe installation fails with \"Invalid File Format\" at this moment in the GUI. \n\n```\nBignasventi> ll\ndrwxrwxrwt   20 root     root          4096 Oct  5 16:10 .\ndrwxr-xr-x   32 root     root          4096 Sep 20 16:01 ..\n-rw-r--r--    1 root     root             0 Sep 20 16:01 57E1412DE38877D6\ndrwxrwxrwx    3 root     root          4096 Oct  5 16:10 57F509C1C3E69213\ndrwxrwxrwx    3 root     root          4096 Oct  5 16:10 57F509CD7A1A5157\ndrwxr-xr-x   20 root     root          4096 Sep 20 16:01 @pplepriv@te\ndrwxrwxrwx    3 root     root          4096 Sep 26 20:01 @synopkg\ndrwxr-xr-x    2 root     root          4096 Sep 26 18:55 jna-3506402\ndrwxrwxrwx    3 root     root          4096 Oct  5 15:34 pkglist.tmp\n-rwxrwxrwx    1 root     root      23315456 Oct  5 16:10 upload_tmp.4170\n```\n\nCancelling the installation removes the temp file created. The directory stays empty.\n\n```\nBignasventi> ll\ndrwxrwxrwt   20 root     root          4096 Oct  5 16:10 .\ndrwxr-xr-x   32 root     root          4096 Sep 20 16:01 ..\n-rw-r--r--    1 root     root             0 Sep 20 16:01 57E1412DE38877D6\ndrwxrwxrwx    3 root     root          4096 Oct  5 16:10 57F509C1C3E69213\ndrwxrwxrwx    3 root     root          4096 Oct  5 16:10 57F509CD7A1A5157\ndrwxr-xr-x   20 root     root          4096 Sep 20 16:01 @pplepriv@te\ndrwxrwxrwx    3 root     root          4096 Sep 26 20:01 @synopkg\ndrwxr-xr-x    2 root     root          4096 Sep 26 18:55 jna-3506402\ndrwxrwxrwx    3 root     root          4096 Oct  5 15:34 pkglist.tmp\n```\n### Screenshots\n\n<img width=\"706\" alt=\"screen shot 2016-10-05 at 15 34 08\" src=\"https://cloud.githubusercontent.com/assets/15815764/19116935/8201f010-8b17-11e6-91a1-8ffe0a0917b0.png\">\n\n<img width=\"700\" alt=\"screen shot 2016-10-05 at 15 34 16\" src=\"https://cloud.githubusercontent.com/assets/15815764/19116940/8695368c-8b17-11e6-8692-77d76cbecd03.png\">\n\n<img width=\"700\" alt=\"screen shot 2016-10-05 at 15 34 24\" src=\"https://cloud.githubusercontent.com/assets/15815764/19116944/8a9cc574-8b17-11e6-88bd-4ab73c04119d.png\">\n\n<img width=\"699\" alt=\"screen shot 2016-10-05 at 15 34 32\" src=\"https://cloud.githubusercontent.com/assets/15815764/19116949/8d256512-8b17-11e6-91c7-93bc5d552332.png\">\n### debug log\n\n/var/log/messages only show this:\n\nOct  5 16:10:21 Bignasventi entry.cgi_SYNO.Core.Package.Installation[1].install[974]: pkginstall.cpp:385 Failed to unpack package.tgz, /bin/tar zxf /volume1/@tmp/pkginstall/package.tgz -C /volume1/@tmp/pkginstall/package\n\nI would like to know if there is a way to install spk using the command line. \nAlso the last message points to /volume1/@tmp/pkginstall dir. But this dir is nowhere to be found. \nFor testing I created a pkginstall directory to see if it would be used by the installation, but as soon as I click Apply, the pkginstall directory is deleted.\n\nPleaz help...\n## \n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38154833-unable-to-install-spk-installer-on-synology?utm_campaign=plugin&utm_content=tracker%2F4870652&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F4870652&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/duplicati/duplicati/issues/comments/321781992","html_url":"https://github.com/duplicati/duplicati/issues/1981#issuecomment-321781992","issue_url":"https://api.github.com/repos/duplicati/duplicati/issues/1981","id":321781992,"user":{"login":"Kerwood","id":4029521,"avatar_url":"https://avatars0.githubusercontent.com/u/4029521?v=4","gravatar_id":"","url":"https://api.github.com/users/Kerwood","html_url":"https://github.com/Kerwood","followers_url":"https://api.github.com/users/Kerwood/followers","following_url":"https://api.github.com/users/Kerwood/following{/other_user}","gists_url":"https://api.github.com/users/Kerwood/gists{/gist_id}","starred_url":"https://api.github.com/users/Kerwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kerwood/subscriptions","organizations_url":"https://api.github.com/users/Kerwood/orgs","repos_url":"https://api.github.com/users/Kerwood/repos","events_url":"https://api.github.com/users/Kerwood/events{/privacy}","received_events_url":"https://api.github.com/users/Kerwood/received_events","type":"User","site_admin":false},"created_at":"2017-08-11T10:46:42Z","updated_at":"2017-08-11T10:46:42Z","body":"I might work if my NAS was of a newer model 👍 \r\n![bb57fc5d](https://user-images.githubusercontent.com/4029521/29210267-fe40aed6-7e92-11e7-86b7-5b1199654d1a.PNG)\r\n"}}
{"actor":{"display_login":"Kerwood"}}