Skip to content
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

UnRAID Install - db folder missing #86

Open
0rn0lf opened this issue Apr 8, 2022 · 1 comment
Open

UnRAID Install - db folder missing #86

0rn0lf opened this issue Apr 8, 2022 · 1 comment

Comments

@0rn0lf
Copy link

0rn0lf commented Apr 8, 2022

The following error appears during the setup assistant

 The FOLDER containing the DB file is not writable, and it has to.
 Please give write permissions on folder '/var/www/baikal/Specific/db' 

Pretty similar to #62 but it seems, that the error occurs because the db folder is missing.
I executed the following command in the container to create the folder and was able to finish the setup assistant:

mkdir /var/www/baikal/Specific/db

The folder is now owned by root. Does it have to be changed to nginx?

# ls -la /var/www/baikal/Specific
total 4
drwxrwxrwx 1 nginx nginx 57 Apr  8 12:13 .
drwxr-xr-x 1 nginx nginx 88 Apr  6 23:37 ..
-rw-r--r-- 1 nginx nginx 31 Apr  8 09:28 .htaccess
-rw-r--r-- 1 nginx nginx  0 Apr  8 12:13 INSTALL_DISABLED
drwxr-xr-x 1 root  root  23 Apr  8 12:13 db

Database is owned by nginx

# ls -la /var/www/baikal/Specific/db 
total 108
drwxr-xr-x 1 root  root      23 Apr  8 12:13 .
drwxrwxrwx 1 nginx nginx     57 Apr  8 12:13 ..
-rw-r--r-- 1 nginx nginx 110592 Apr  8 12:13 db.sqlite
@Joshndroid
Copy link
Contributor

I stumbled back here and see this issue.
Is it possible the container needs to have a user specified as in a UID/GID?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants