Recent Posts

Pages: 1 2 3 [4] 5 6 ... 10
31
CentOS 8 Problems / Re: Can not install CWP 8 on Rockylinux 8 or Almalinux 8
« Last post by Wonder on February 09, 2025, 09:52:43 PM »
There is the same problem.

It seems MariaDB 10.4 is installed on your server. So when you run "yum update" it searches for MariaDB updates in disabled repository. To solve the problem you need to upgrade MariaDB to some actual MariaDB version (10.6, 10.11, etc).

To upgrade to 10.6 do following:

1. In the file  /etc/yum.repos.d/mariadb.repo

change "10.4" to "10.6"

2. To update MariaDB run (make backups of the databases before you run update):

Code: [Select]
service mysql stop
service mariadb stop
systemctl disable mariadb
rpm --nodeps -ev MariaDB-server
yum clean all
yum -y update "MariaDB-*"
yum -y install MariaDB-server
systemctl enable mariadb
service mariadb start
mysql_upgrade

3. Make sure all mariaDB binaries are updated:

Code: [Select]
rpm -qa|grep -i maria
You should get something like:

MariaDB-server-10.6-el8.centos.x86_64
MariaDB-devel-10.6-el8.centos.x86_64
MariaDB-common-10.6-el8.centos.x86_64
MariaDB-compat-10.6-el8.centos.x86_64
MariaDB-client-10.6-el8.centos.x86_64
MariaDB-shared-10.6-el8.centos.x86_64


Makre sure all rpms have "10.6" in their names.

Please note you do it on your own risk. So make backups.

Hi,
With this instructions, I can upgrade from 10.4 to 10.6, but not to 10.11, always I have error in
Code: [Select]
yum -y install MariaDB-server
First, my /etc/yum.repos.d/mariadb.repo contain:
Code: [Select]
# MariaDB 10.4 CentOS repository list - created 2020-06-23 23:26 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4/centos8-amd64
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
If also change to 10.6 work fine, but if I change to 10.11 not work, url not exist, I need change to:
Code: [Select]
baseurl = https://mirror.mariadb.org/yum/10.11/almalinux8-amd64/
But with this change, also, I can upgrade from 10.4 to 10.11, I have same error.

First, I need upgrade to 10.6, and then to 10.11, with this, yes, all work fine with new version.

Indicate this for if other person have the same problem.

Thanks for your indications.

PS : Sorry for my bad english
32
CentOS-WebPanel Bugs / Re: Cron issue
« Last post by cyberspace on February 09, 2025, 09:48:49 PM »
Also, try to replace 'wget' with 'curl' and see if the problem remains.
33
CentOS-WebPanel Bugs / Re: Cron issue
« Last post by cyberspace on February 09, 2025, 09:38:55 PM »
Try to use single (') and double (") quotes.

I think your cron doesn't pass parameters  because the chars like "?", "&" can be recognized as special chars by command line interpreted used by cron. If my guess is correct then you need to put the whole requested URL in quotes or pass the parameters in some other way.
34
The encrypted mail passwords are stored in the table 'mailbox' of the database 'postfix'. I think the passwords can be retrieved from the db and restored on the new server. It should work if postfix for Almalinux 9 / RockyLinux 9 uses the same method of encryption.
35
CentOS-WebPanel Bugs / Re: Cron issue
« Last post by tester on February 09, 2025, 09:30:12 PM »
when I put quotes it doesn't execute the script at all.
36
Installation / Re: Continue the problem that, can't migration account from cwp8 to cwp9?
« Last post by Wonder on February 09, 2025, 09:18:33 PM »
You can make backups, transfer them to the new server (or make remote backups to the new server) and restore accounts from backups or try to add the ssh access key from the new server to the old server.

I can help if you can't do it yourself.

I think I did everything (I say I think because I don't remember well) but I did add the key for account transfer, and it never worked, connection error, but if I did it to the same server but with almalinux 8, no problem.

I'm interested in not having to reset the email passwords, that would be a headache...

I'm buying a test VPS, I'll get on with it and let you know.

Thanks for your offer!
37
CentOS-WebPanel Bugs / Re: Cron issue
« Last post by cyberspace on February 09, 2025, 09:10:15 PM »
try to change the command of cron to:
Code: [Select]
wget 'https://mysite.com/index.php?route=extension/common/script/cron_reset&reset=manual'
38
CentOS-WebPanel Bugs / Cron issue
« Last post by tester on February 09, 2025, 09:08:57 PM »
Sorry, I really don't know where to post this.

I'm trying to run a cron by pressing the 'run cron job now' button. The script is being executed but the parameters are not being passed. I run the same url in my browser and the parameters are being passed. The cron code looks like:
Code: [Select]
wget https://mysite.com/index.php?route=extension/common/script/cron_reset&reset=manualI'm picking up the parameter in the php script like:
Code: [Select]
$reset = $_GET['reset'];My host doesn't know what's going on as of yet.

39
You can make backups, transfer them to the new server (or make remote backups to the new server) and restore accounts from backups or try to add the ssh access key from the new server to the old server.

I can help if you can't do it yourself.
40
Installation / Re: Continue the problem that, can't migration account from cwp8 to cwp9?
« Last post by Wonder on February 09, 2025, 08:51:34 PM »
If you can try it, you'd do me a favor, or confirm whether it's possible or not.
I tried in the past but there was no way, I couldn't.
Now it means getting a new VPS (which isn't much money) and doing the test, it always gave me the same error.
If it has to be done, it's done, but when I mentioned it, I didn't get an answer on how to solve it.

If you can, I'm going to get a VPS and put cwp9 on it, because sooner or later, that account will have to migrate to cwp9, and manual migration would be a disaster for me... :)

Thanks
Pages: 1 2 3 [4] 5 6 ... 10