Hello,
nubuilder 4.5 has a button to backup the database.
When I use it, I am greeted with this:
"Export Error: Output file is not writable"
I had tried a couple of options in Setup > Settings:
Either leave $nuConfigBackupLocation blank, or
set it to /www/mysqldumper/work/backup
In both cases, this error appears.
The backup dir in the path above has "770" as permissions.
What must be done to make the output file writable?
Thanks in advance for any pointers!
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Error when trying to backup database Topic is solved
-
- Posts: 132
- Joined: Sun Dec 16, 2018 6:13 pm
- Location: România
- Has thanked: 30 times
- Been thanked: 4 times
Re: Error when trying to backup database
viewtopic.php?p=28243&hilit=backup#p28243
or try this command in linux
Status SeLinux
Deactivate SeLinux
Status list directory
set write rights for httpd in the specified directory
or try this command in linux
Status SeLinux
Code: Select all
sestatus -b
Code: Select all
setenforce 0
Code: Select all
ls -halZ
Code: Select all
chcon -R -t httpd_sys_rw_content_t /var/www/html/nubuilder4/core/libs\mysqldump/dumps/
nuBuilderForte .... BIG Like !!!
Re: Error when trying to backup database
Thanks gerese - the link you included put me on the right path!
In my case the folder /dumps was present, but the permission was set to 750. When I changed that to 770, it worked!
In my case the folder /dumps was present, but the permission was set to 750. When I changed that to 770, it worked!