Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: andresilva-cc on May 06, 2020, 06:02:30 PM
-
I know that PHPMyAdmin is stored in /usr/local/cwpsrv/var/services.
After some days, the "pma" folder gets renamed to a backup name, like "pma_28-04-2020.bak" and my customer can't access PHPMyAdmin anymore.
I solve it by making a copy of the .bak folder and renaming it to "pma", but, as I said, after some days it happens again.
How can I prevent this from happening?
-
Sound's like CWP File updates might be failing. you could run an hourly cron to check if pma exists, if not cp .bak to pma as a workaround.
Are any other issues arising after this happens?
-
cd /usr/local/cwpsrv/var/services
mv pma_28-04-2020.bak pma
-
Sound's like CWP File updates might be failing. you could run an hourly cron to check if pma exists, if not cp .bak to pma as a workaround.
Are any other issues arising after this happens?
It's a good workaround, but it would be better if I could solve it permanently. No, not any other issues as far as I'm aware.
cd /usr/local/cwpsrv/var/services
mv pma_28-04-2020.bak pma
Yes, as I said, I'm making a copy of the folder, but even if I mv it, it would just fix it temporarily.