Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Leo

Pages: [1] 2
1
Updates / Re: MariaDB update problem CWP7PRO
« on: February 10, 2025, 03:18:33 PM »
For anyone experiencing the same problem, I have fixed the issue

by first:
https://serverfault.com/a/1161847/966295

and then:
https://wiki.centos-webpanel.com/mariadb-upgrade-to-new-version

2
Updates / Re: MariaDB update problem CWP7PRO
« on: February 10, 2025, 12:09:05 PM »
Thanks for your input but Centos 7 is still among the recommended OS's of this panel, while el9 is still in beta.
https://control-webpanel.com/installation-instructions#step2

I will upgrade to centos 9 when beta is over. For this particular instance, I believe the devs could fix this with a patch or sth like that.

3
Updates / Re: MariaDB update problem CWP7PRO
« on: February 10, 2025, 11:33:19 AM »
Centos 7

4
Updates / MariaDB update problem CWP7PRO
« on: February 10, 2025, 11:04:52 AM »
I have tried the recent yum update for MariaDB and it failed:

Code: [Select]
Running transaction

******************************************************************
A MySQL or MariaDB server package (MariaDB-server-10.2.44-1.el7.centos.x86_64) is installed.

Upgrading directly from MySQL 10.2 to MariaDB 10.4 may not
be safe in all cases.  A manual dump and restore using mysqldump is
recommended.  It is important to review the MariaDB manual's Upgrading
section for version-specific incompatibilities.

A manual upgrade is required.

- Ensure that you have a complete, working backup of your data and my.cnf
  files
- Shut down the MySQL server cleanly
- Remove the existing MySQL packages.  Usually this command will
  list the packages you should remove:
  rpm -qa | grep -i '^mysql-'

  You may choose to use 'rpm --nodeps -ev <package-name>' to remove
  the package which contains the mysqlclient shared library.  The
  library will be reinstalled by the MariaDB-shared package.
- Install the new MariaDB packages supplied by MariaDB Foundation
- Ensure that the MariaDB server is started
- Run the 'mysql_upgrade' program

This is a brief description of the upgrade process.  Important details
can be found in the MariaDB manual, in the Upgrading section.
******************************************************************
error: %pre(MariaDB-server-10.4.34-1.el7.centos.x86_64) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package MariaDB-server-10.4.34-1.el7.centos.x86_64
MariaDB-server-10.2.44-1.el7.centos.x86_64 was supposed to be removed but is not!
  Verifying  : MariaDB-server-10.2.44-1.el7.centos.x86_64                                                                                                           1/2
  Verifying  : MariaDB-server-10.4.34-1.el7.centos.x86_64                                                                                                           2/2

Failed:
  MariaDB-server.x86_64 0:10.2.44-1.el7.centos                                       MariaDB-server.x86_64 0:10.4.34-1.el7.centos

I am hesistant to follow the instructions as removing the old mariadb package might make something inaccessible. Please take a look at this, the yum update should complete this without user interference I think.

5
Updates / Re: Problems with update 0.9.8.1136
« on: May 19, 2022, 08:48:16 PM »
I'll have to disable auto updates if untested updates keep getting released. A few months ago, another update has completely broken my accounts (rendered the websites inaccessible as the accounts have been suspended) as well, that one with the package limits or something. I can't feel at peace if every couple of months a problem like this arises. There should at least be an option where my server follows the updates at least a couple of weeks late, so if there were any issues in mean time, it will be fixed before my server auto-updates. This is what choosing "Stable version" should do already, but it clearly doesn't. Stable version shall indeed be "stable".

6
Updates / Re: Problems with update 0.9.8.1138
« on: May 19, 2022, 10:28:54 AM »
18 servers with cwp pro, all are over 63% CPU, please solve the problem as soon as possible and next time do not update without testing them.


Totally agree. Releasing updates without properly testing them is extremely amateurish.

7
Updates / Re: Problems with update 0.9.8.1136
« on: May 19, 2022, 01:04:34 AM »
Has anyone noticed the Update CWP button doesn't work. With me (3 different servers) it starts as if it will update with animated circle and all, then it just goes back to dashboard with no update. I could only update the version via SSH using sh /scripts/update_cwp


8
Updates / Re: After update today, nginx/1.20.0 error
« on: December 29, 2021, 05:54:49 AM »
Somehow the last update messed up everything. It changed the default package and all domains in my account got suspended. Their vhost file is not reverting back to original so I had to fix it one by one manually. File and folder permissions also got messed up. I am only using the stable version update which is supposed to be 2 weeks tested and all of a sudden an update breaks my entire file system. I think I will stop with auto updates. It's simply an invitation for disaster in a production environment.

9
Updates / Write error: Broken pipe
« on: January 17, 2021, 02:02:19 AM »
This is (part of) what I received in the cron.daily update email

 
Code: [Select]
13800K .......... .......... .......... .......... .......... 99% 40.9M 0s
 13850K .......... .......... .......... .......... .......... 99% 35.0M 0s
 13900K .......... .......... .......... .......... .......... 99% 1.22M 0s
 13950K .......... .......... .......... .                    100%  809K=13s

2021-01-17 03:08:27 (1.06 MB/s) - ‘phpMyAdmin-5.0.4-all-languages.zip’ saved [14316903/14316903]

tr: write error: Broken pipe
tr: write error
Redirecting to /bin/systemctl reload httpd.service
Redirecting to /bin/systemctl reload httpd.service

Date which backup script is using: 2021-01-17 03:08:31

/etc/cron.daily/cwp_acme.sh:

[Sun Jan 17 03:08:31 +03 2021] Already uptodate!
[Sun Jan 17 03:08:31 +03 2021] Upgrade success!
/etc/cron.daily/cwp_bandwidth:

So this part: tr: write error: Broken pipe

Is this a problem, something I need to fix? If yes, how do I go about it, please?

Thanks in advance for help.

10
phpmyadmin autologin no longer works after this update. Is there a fix for that?

And they have messed up the UI with this update. It feels like this is the 2012 version. I guess there's nothing we can do about this.

11
Updates / PHP Imagemagick error after last update
« on: May 19, 2020, 11:58:17 PM »
Hello,

After the recent update, my error log is filled with these:

[Wed May 20 02:52:57.192784 2020] [:error] [pid 1412:tid 140090567730944] [client 77.88.5.198:38030] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so' - libMagickWand.so.5: cannot open shared object file: No such file or directory in Unknown on line 0

This happens with every PHP process. Imagemagick isn't being used in these processes.

I haven't changed anything myself. This is either about the recent CWP version update or the yum update.

Anyone knows how to fix this?

12
CentOS 7 Problems / How to rotate access logs
« on: April 07, 2020, 10:46:02 AM »
I have just noticed that my hard drive has been running out of space. Checking what's bloating the drive, I've found out that one of the access logs has become 7 GB's, accumulating data for months.

Is there a way to clear these logs on a, say, monthly basis? That's what the rotate system does, right? How do I go about it? I have noticed that there is a Logrotate manager section in the CWP control panel but I don't know how to configure it. It'd be better if that page was designed more user friendly. It should be like configuring a backup, select which log to rotate, select interval (week/month etc) and hit Submit.

13
E-Mail / Re: Email from my domain
« on: January 29, 2020, 01:03:41 PM »
It's probably spoofed. Gmail should dismiss it. Don't worry about it.

14
Updates / File Manager problem after update to 0.9.8.932
« on: January 28, 2020, 07:15:09 PM »
Hello,

I have noticed a minor issue after the last update. "Save File" button doesn't work anymore. I have tried to diagnose the problem through Chrome console and this is the error I receive upon hitting the button:

"Uncaught ReferenceError: go_save is not defined at HTMLInputElement.onclick"

Please provide a quick fix for this. File Manager is a handy tool I use frequently.

15
CentOS-WebPanel Bugs / Fix Permissions feature problem
« on: December 03, 2019, 12:59:05 AM »
Since the last update, Fix Permissions feature is not working correctly. It used to do it's job in a matter of seconds without any hassle, now it takes forever meanwhile causing a spike on the server load. The spike doesn't cool off until I reboot the server. I use this feature often so this is an important matter for me. Please look into this.

Pages: [1] 2