Created
October 18, 2015 06:33
-
-
Save drkokandy/7739cd6317f751a0f791 to your computer and use it in GitHub Desktop.
Yunohost CLI fails because can't write to log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
admin@raspberrypi:~$ yunohost -h | |
Traceback (most recent call last): | |
File "/usr/bin/yunohost", line 142, in <module> | |
_init_moulinette() | |
File "/usr/bin/yunohost", line 124, in _init_moulinette | |
init(logging_config=logging, _from_source=IN_DEVEL) | |
File "/usr/lib/python2.7/dist-packages/moulinette/__init__.py", line 59, in init | |
configure_logging(logging_config) | |
File "/usr/lib/python2.7/dist-packages/moulinette/utils/log.py", line 42, in configure_logging | |
dictConfig(logging_config) | |
File "/usr/lib/python2.7/logging/config.py", line 777, in dictConfig | |
dictConfigClass(config).configure() | |
File "/usr/lib/python2.7/logging/config.py", line 575, in configure | |
'%r: %s' % (name, e)) | |
ValueError: Unable to configure handler 'file': [Errno 13] Permission denied: '/var/log/yunohost/yunohost-cli.log' | |
admin@raspberrypi:~$ sudo ls -l /var/log/yunohost/ | |
total 26 | |
-rw-r--r-- 1 root root 16980 Oct 18 07:10 yunohost-api.log | |
-rw-r--r-- 1 root root 6558 Oct 18 07:10 yunohost-cli.log | |
admin@raspberrypi:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment