Author Topic: CWP keeps renaming PHPMyAdmin folder  (Read 3814 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CWP keeps renaming PHPMyAdmin folder
« 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?

Offline
****
Re: CWP keeps renaming PHPMyAdmin folder
« Reply #1 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?
Google Hangouts:  rcschaff82@gmail.com

Offline
*****
Re: CWP keeps renaming PHPMyAdmin folder
« Reply #2 on: May 07, 2020, 10:43:11 AM »
cd /usr/local/cwpsrv/var/services
mv pma_28-04-2020.bak pma

Offline
*
Re: CWP keeps renaming PHPMyAdmin folder
« Reply #3 on: May 07, 2020, 12:42:40 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.

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.