CWP keeps renaming PHPMyAdmin folder

Started by andresilva-cc, May 06, 2020, 06:02:30 PM

Previous topic - Next topic

andresilva-cc

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?

rcschaff

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?
Google Hangouts:  rcschaff82@gmail.com

Sandeep

cd /usr/local/cwpsrv/var/services
mv pma_28-04-2020.bak pma

andresilva-cc

Quote from: rcschaff on May 06, 2020, 09:35:03 PM
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.

Quote from: Sandeep on May 07, 2020, 10:43:11 AM
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.