Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Trying to backup : Export Error: Output file is not writable Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
tsignadze
Posts: 43
Joined: Tue Feb 21, 2023 12:14 am
Has thanked: 22 times
Been thanked: 1 time

Trying to backup : Export Error: Output file is not writable

Unread post by tsignadze »

Hello, I have nubuilder setup on webserver, when I am trying to perform a backup, I get following error:
Untitled.png
What do I need to check?
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Trying to backup : Export Error: Output file is not writable

Unread post by kev1n »

Hi,

The default backup location is here:
/core/libs\mysqldump/dumps

This error message typically indicates that PHP is unable to write to the specified output file. There are a few possible reasons why this might be happening:

Permissions: The user running the PHP script may not have the necessary permissions to write to the file. Check the permissions of the output file and make sure the user has write access.

File ownership: The output file may be owned by a different user or group than the one running the PHP script. Check the ownership of the file and make sure the user running the PHP script has the necessary permissions.

File location: The output file may be located in a directory that the user running the PHP script does not have write access to. Check the permissions of the directory and make sure the user has write access.
tsignadze
Posts: 43
Joined: Tue Feb 21, 2023 12:14 am
Has thanked: 22 times
Been thanked: 1 time

Re: Trying to backup : Export Error: Output file is not writable

Unread post by tsignadze »

Thank you very much Kev1n!

I was missing following folder: /core/libs\mysqldump/dumps

Created it and set correct permissions, works nice now.
camti
Posts: 12
Joined: Thu May 11, 2023 12:36 pm
Has thanked: 4 times
Been thanked: 2 times

Re: Trying to backup : Export Error: Output file is not writable

Unread post by camti »

In my case, the folder was there, but the permission was set to 750. When I changed it to 770, it worked immediately!
Post Reply