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
symlink problem #13
Comments
You can edit user.php to set where the DB goes. |
@HeroCC I know you can modify it but the point is that if the version gets updated that file will get overwritten. |
can you just add www-data to the group that has permissions to opt? |
@causefx I think for the purpose of the database files having them located elsewhere is necessary and configuring that is a good enhancement :) |
@ShoGinn correct, I was just speaking in the meantime. |
@causefx, I would recommend that you have user.php include another (optional) config.php that can override the defaults you have there so folks can create/edit config.php with any server specific settings they need. Also, please put config.php in .gitignore so that updates and gut pulls, etc. do not ever need to touch it. Right now, we need to revert our customizations to users.php then get the latest & then re-appy those customizations. |
I'm already working on something similar to that for v1.0 When first installing it will ask you where you would like for it to store the database. It will then save it in an another file. |
just a heads up this is fixed. |
Thanks! I have been trying to implement this into a simpler solution and integration into a nginx location setup! |
so far I have:
Any idea what you are going to do with that users folder?? |
So I keep all of my git items in the /opt folder and then symlink them to the root web directory.
because the user.php points to ../users.db its asking for rights to the /opt folder.
unless i move the repository to the root web directory it fails.
So traditionally i know that symlinks aren't a preferred practice but it has worked in the past ;)
The text was updated successfully, but these errors were encountered: