CyberPanel Community

When taking backup the database file is zero kb

MI
MISHOoO #1

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 ?

18 replies
Ro
Roman #2

does backup via phpmyadmin work?

MI
MISHOoO #3

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)”}

Ro
Roman #4

try in ssh

mysqldump databasename > backupfile.sql

MI
MISHOoO #5

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

Ro
Roman #6

possible any file CP is broken
try update CP

Ro
Roman #7

try mysqlcheck --all-databases

MI
MISHOoO #8

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

MI
MISHOoO #9

all of them gives OK

Ro
Roman #10

try create and save any file in ssh

MI
MISHOoO #11

created file normally

Ro
Roman #12

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

MI
MISHOoO #13

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

Ro
Roman #14

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

MI
MISHOoO #15

CSF is not installed

Ro
Roman #16

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

Ha
Habib #17

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.

NW
Nathan Waelkens #18

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)"}
WT
William Tordjman #19

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

Sign in to reply