When taking backup the database file is zero kb

Hello,

Provider: Scaleway
Cyberpanel version : latest version
OLS

my problem is when i take backup the database file is zero kb, i think it’s permission problem
but i don’t know what exactly the issue

any help ?

does backup via phpmyadmin work?

if you mean import database >> Yes works

but now phpmyadmin page gives this error when try to open it:
{“error_message”: “Error: Expecting value: line 1 column 1 (char 0)”, “errorMessage”: “Error: Expecting value: line 1 column 1 (char 0)”}

1 Like

try in ssh

mysqldump databasename > backupfile.sql

yes, works fine with full size, so why not taking it through cyberpanel ?

possible any file CP is broken
try update CP

try mysqlcheck --all-databases

i tried many times upgrading and still the same
the upgarde finish successfully but there are some errors i post it here:

all of them gives OK

try create and save any file in ssh

created file normally

possible u files CP is encrypted and/or chown/chmod wrong

how to adjust the correct permissions?
and why this happens as it was working normally

CSF enabled in u system?
if yes - try disable and try backing up db in phpmyadmin

CSF is not installed

try temporary use this link
https://your_ip:8090/phpmyadmin/
if u change port - change it in link

After the upgrade, I’m experiencing the same error code. I can’t access the phpMyAdmin page or change the theme color. I did the upgrade from knowledge base and followed some other related topics with no luck. their mentioned solution not worked.

Also after a clean install I can’t access phpmyadmin. Same error as earlier mentioned.

{"error_message": "Error: Expecting value: line 1 column 1 (char 0)", "errorMessage": "Error: Expecting value: line 1 column 1 (char 0)"}
1 Like

Exact same issue here. After a clean install, I can’t connect to phpmyadmin. It is a bug. Perhaps a credentials issue.