-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PermissionError: [Errno 13] Permission denied: 'db' #18
Comments
I get the same error when trying to install a newer version |
does not work with this user only skip the part of adding the user and in the libretranslate.service file user and group = root and in nginx = the ip of the server and it should work |
solution 2 create dir in /home/libretranslate/db ready |
No, this does not solve it. I created directory /home/libretranslate/db (but there is one in /home/libretranslate/LibreTranslate/db already, where it should be). I cannot skip part of adding user, because it is installed in python venv and not in root. |
OK, this is how i got the update working (note that it is now running under root venv and not libretranslate user anymore):
for future updates just skip the first line (and later the "exit" command). PS: it may be necessary to run nginx as root for this to work. |
creating the directory /home/libretranslate/db does not allow the installation. Is there a real solution? |
please add this to /etc/sudoers.d/libretranslate
here my systemd service
|
Debian 12. root@libretranslate:~# su libretranslate Loaded support for 44 languages (88 models total)! |
I sometimes see this error but it doesn't seem to cause issues.
The text was updated successfully, but these errors were encountered: