{"action":"closed","issue":{"url":"https://api.github.com/repos/rockstor/rockstor-core/issues/1438","repository_url":"https://api.github.com/repos/rockstor/rockstor-core","labels_url":"https://api.github.com/repos/rockstor/rockstor-core/issues/1438/labels{/name}","comments_url":"https://api.github.com/repos/rockstor/rockstor-core/issues/1438/comments","events_url":"https://api.github.com/repos/rockstor/rockstor-core/issues/1438/events","html_url":"https://github.com/rockstor/rockstor-core/issues/1438","id":178467723,"number":1438,"title":"Error when creating an AFP share and the service is not running","user":{"login":"sfranzen","id":8838153,"avatar_url":"https://avatars.githubusercontent.com/u/8838153?v=3","gravatar_id":"","url":"https://api.github.com/users/sfranzen","html_url":"https://github.com/sfranzen","followers_url":"https://api.github.com/users/sfranzen/followers","following_url":"https://api.github.com/users/sfranzen/following{/other_user}","gists_url":"https://api.github.com/users/sfranzen/gists{/gist_id}","starred_url":"https://api.github.com/users/sfranzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfranzen/subscriptions","organizations_url":"https://api.github.com/users/sfranzen/orgs","repos_url":"https://api.github.com/users/sfranzen/repos","events_url":"https://api.github.com/users/sfranzen/events{/privacy}","received_events_url":"https://api.github.com/users/sfranzen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-21T21:31:14Z","updated_at":"2016-09-27T10:56:28Z","closed_at":"2016-09-27T10:56:28Z","body":"Forum user Maxime submitted [a bug report](https://forum.rockstor.com/t/solved-error-when-i-create-a-afp-share/2088) with the following error:\r\n```\r\nTraceback (most recent call last):\r\nFile \"/opt/rockstor/src/rockstor/storageadmin/views/netatalk.py\", line 134, in post\r\nsystemctl('netatalk', 'reload')\r\nFile \"/opt/rockstor/src/rockstor/system/services.py\", line 64, in systemctl\r\nreturn run_command([SYSTEMCTL_BIN, switch, service_name])\r\nFile \"/opt/rockstor/src/rockstor/system/osi.py\", line 104, in run_command\r\nraise CommandException(cmd, out, err, rc)\r\nCommandException: Error running a command. cmd = ['/usr/bin/systemctl', 'reload', 'netatalk']. rc = 1. stdout = ['']. stderr = ['Job for netatalk.service invalid.', '']\r\n```\r\n\r\nInstead, a more friendly notification should be displayed that the service is not running, just like for the other share types."}}
{"actor":{"display_login":"sfranzen"}}