Database not fully usable

Hi together,

after a successful restore of my Dolibarr database, some part(s) are still not writable.

For instance: after generating a new contact/partner/address I like to add a logo. But the logo (png, jpg etc) will not be shown. There’s just a place holder for “missing logo”. When I try to delete it or want to add a other logo - nothing changed. The same happen when I try adding a link (url) or try adding a file (e.g. pdf). Nothing will be added, the fields stay empty.

Question: ist there something wrong with the MySQL database setup? Because the “dolibarr.log” is set for full read/write access.

Thank you in advance for you rsupport.

Ralph

At least ug+rw should be ok.

Show the infos of

as attached PDF.

Best regards

Check permissions files and folders
Files=644
Folders=755

1 Like

Did you restore via Dolibarr Restore - AND was the Backup created with the Dolibarr Backup function in the first place?

Especially the use of Foreign Keys might cause troubles when restoring to an ISAM mySQL database AND/OR running into time-out issues (mostly related to php.ini settings).

Best regards

1 Like

Thanks for all the hints.

To ndrosis:
It just was a permission problem of the files and folders.
Files=644
Folders=755


To casati:
Your question where: Did you restore via Dolibarr Restore - AND was the Backup created with the Dolibarr Backup function in the first place?
Especially the use of Foreign Keys might cause troubles when restoring to an ISAM mySQL database AND/OR running into time-out issues (mostly related to php.ini settings).

My hint for ubuntu/debian user:
I restored Dolibarr with MySQL Workbench. You just need to select your Dolibarr database and select the path of your saved *.sql file. Of course you need your password. Afterwords copy by hand your saved path “[i]\var\lib\dolibarr\documents[/i]” into the directory and the rights for the dolibarr.log file and all the folders inside the directory to full read/write.

It works :wink: