Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#32042 - [deluge] deluge-web service fails to start
Attached to Project:
Arch Linux
Opened by Jason (Meyithi) - Wednesday, 17 October 2012, 20:07 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 20 October 2012, 10:57 GMT
Opened by Jason (Meyithi) - Wednesday, 17 October 2012, 20:07 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 20 October 2012, 10:57 GMT
|
DetailsDescription: deluge-web service fails to start, lots of python errors topped off with a permission error. I did a fresh install so /srv/deluge didn't exist/wasn't populated.
Additional info: * package version(s) - 1.3.5-2 * config and/or log files etc. - errors attached Steps to reproduce: Install deluge, run sudo systemctl start deluge-web.service |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Saturday, 20 October 2012, 10:57 GMT
Reason for closing: Not a bug
Saturday, 20 October 2012, 10:57 GMT
Reason for closing: Not a bug
deluge
$ ls /srv
total 16
drwxr-xr-x 4 root root 4096 Oct 17 22:29 .
drwxr-xr-x 22 root root 4096 Oct 15 13:41 ..
dr-xr-xr-x 2 root ftp 4096 Oct 3 21:32 ftp
drwxr-xr-x 2 root root 4096 Oct 3 21:32 http
meyithi in /home/meyithi
$ pacman -Ss python-mako
extra/python-mako 0.7.2-2 [installed]
Hyperfast and lightweight templating for the Python2 platform.
meyithi in /home/meyithi
$ sudo systemctl enable deluge-web.service
ln -s '/usr/lib/systemd/system/deluge-web.service' '/etc/systemd/system/multi-user.target.wants/deluge-web.service'
meyithi in /home/meyithi
$ sudo systemctl start deluge-web.service
meyithi in /home/meyithi
$ ls /srv
total 16
drwxr-xr-x 4 root root 4096 Oct 17 22:29 .
drwxr-xr-x 22 root root 4096 Oct 15 13:41 ..
dr-xr-xr-x 2 root ftp 4096 Oct 3 21:32 ftp
drwxr-xr-x 2 root root 4096 Oct 3 21:32 http
meyithi in /home/meyithi
$
Same error in journalctl as already posted
Oct 17 22:40:40 Meyithi-PC systemd[1]: Starting Deluge WebUI...
Oct 17 22:40:40 Meyithi-PC systemd[1]: Started Deluge WebUI.
Oct 17 22:40:40 Meyithi-PC sudo[8232]: pam_unix(sudo:session): session closed for user root
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: Traceback (most recent call last):
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: File "/usr/bin/deluge-web", line 9, in <module>
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: load_entry_point('deluge==1.3.5', 'console_scripts', 'deluge-web')()
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: File "/usr/lib/python2.7/site-packages/deluge/ui/web/web.py", line 138, in start
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: web.start()
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: File "/usr/lib/python2.7/site-packages/deluge/ui/web/web.py", line 108, in start
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: self.__server = server.DelugeWeb()
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: File "/usr/lib/python2.7/site-packages/deluge/ui/web/server.py", line 600, in __init__
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: self.config = configmanager.ConfigManager("web.conf", CONFIG_DEFAULTS)
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: File "/usr/lib/python2.7/site-packages/deluge/configmanager.py", line 122, in ConfigManager
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: return _configmanager.get_config(config, defaults)
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: File "/usr/lib/python2.7/site-packages/deluge/configmanager.py", line 114, in get_config
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: self.config_files[config_file] = Config(config_file, defaults, self.config_directory)
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: File "/usr/lib/python2.7/site-packages/deluge/configmanager.py", line 51, in config_directory
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: self.__config_directory = deluge.common.get_default_config_dir()
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: File "/usr/lib/python2.7/site-packages/deluge/common.py", line 166, in get_default_config_dir
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: return xdg.BaseDirectory.save_config_path("deluge")
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: File "/usr/lib/python2.7/site-packages/xdg/BaseDirectory.py", line 58, in save_config_path
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: os.makedirs(path, 0o700)
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: File "/usr/lib/python2.7/os.py", line 150, in makedirs
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: makedirs(head, mode)
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: File "/usr/lib/python2.7/os.py", line 150, in makedirs
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: makedirs(head, mode)
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: File "/usr/lib/python2.7/os.py", line 157, in makedirs
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: mkdir(name, mode)
Oct 17 22:40:40 Meyithi-PC deluge-web[8235]: OSError: [Errno 13] Permission denied: '/srv/deluge'
Oct 17 22:40:40 Meyithi-PC systemd[1]: deluge-web.service: main process exited, code=exited, status=1
Oct 17 22:40:40 Meyithi-PC systemd[1]: Unit deluge-web.service entered failed state.