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 - Wonder

Pages: [1] 2 3 ... 9
1
I've used the CWP script for installs on AL9 without any problem, as long as you load some of the dependances like I put in the AL9 setup I've posted here in the forums.
Yes, I've read some of what you posted. I installed it (the script for AL9) without making any changes. When I get back to it, I'll look for your posts to see those changes.

My question was regarding the script for AL8. You made the appropriate changes due to the problem mentioned in this thread, but I don't know if the default CWP script already has those changes.

I need to take the plunge and install AL9, but I need to know if it's possible to transfer a CWP account from AL8 to AL9. When I tried it, it didn't work...

Thanks for the reply.

2
This updated installer fixes the old installer.

https://kb.starburstservices.com/uncategorized/updated-cwp-installer-script-for-almalinux-8-with-mariadb-10-6/

Any comment or feedback, let me know.

It's been a month, but thanks for the work you've done, it will help a lot of people.

If I have to install CWP 8, I'll use your modified script.

I have a question: Has the CWP script been modified/corrected for this issue?

Regards.

3
Installation / Re: Alma Linux 8 installation DB error (Solution)
« on: February 15, 2025, 09:36:42 PM »

Yeah, Sorry about that. I've searched and found the relevant topic and solution. Will make research from now on before posting.
No problem, this is what the forum is for, to ask questions and help each other.

4
Installation / Re: Alma Linux 8 installation DB error (Solution)
« on: February 14, 2025, 07:12:23 AM »
Newbie alert:

I am currently having issues on my new vps server with contabo. I selected Almalinux 9 and now I am having issues in CWP. First issue is that CWP users are not able to login...always says "Failed" even with correct credentials.

As per your explanation, contabo does not offer Alma linux 8 out of the box, can you please let me know how to install this I think via "Custom Images" which they offer?

Any help would be greatly appreciated. Thanks

As they say, it is discussed in the forum, this is an off topic, the subject has nothing to do with the topic, anyway, I count, select cloud init and you will be able to install almalinux 8

5
Installation / Re: Alma Linux 8 installation DB error (Solution)
« on: February 13, 2025, 08:21:05 PM »
Great threat this.

But with all my respect, I prefered like indicate cyberspace, every distro with her repo, betwen are the same...

Regards

6
This could be the case:
https://serverfault.com/questions/1016837/why-isnt-repository-priority-working-in-yum-dnf-in-centos-8
Yes, I think the same thing.
Also, in that link they talk about the difference between mariadb and MariaDB, that's exactly what happened to me, I was searching for MariaDB and it told me mariadb (I'm speaking from memory), so yes, I think the cause is the information in the link you mention.

7
Sorry, but the first and last examples of mariadb.repo file look similar for me. I don't see difference.

Anyway, all three examples look good and should allow to upgrade/install MariaDB 10.11.

Sorry, you're right. I did the copy paste wrong, it's already modified.

The first (and original) mariadb.repo is now the same as the original one, the difference:
Original:
Code: [Select]
baseurl = http://yum.mariadb.org/10.4/centos8-amd64New:
Code: [Select]
baseurl = http://yum.mariadb.org/10.11/almalinux8-amd64As you mentioned, changing it to ..../almalinux8-amd64 which is my system.

With that line, you can change from 10.4 to 10.6, but until you put that line I was putting:
Code: [Select]
baseurl = https://mirror.mariadb.org/yum/10.11/almalinux8-amd64/And although the theory says yes, this one didn't let me jump from 10.4 to 10.11
With that line I could only do it if I first installed 10.6, then I could jump to 10.11.

The only difference;
Code: [Select]
module_hotfixes=1 but I don't think that has any relevance in this regard.

8
Change the ending "centos8-amd64" of the line:
Code: [Select]
baseurl = http://yum.mariadb.org/10.4/centos8-amd64to "almalinux8-amd64" if you use Alamalinux 8 or "rockylinux8-amd64" for Rockylinux 8.

Then you will be able to upgrade MariaDB to more recent version.

It has worked....

My original /etc/yum.repos.d/mariadb.repo:

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

I was always changing to:
Code: [Select]
[mariadb]
name = MariaDB
baseurl = https://mirror.mariadb.org/yum/10.11/almalinux8-amd64/
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
And it didn't work for me, I had to install 10.6 first and then 10.11.

Now I made the change in /etc/yum.repos.d/mariadb.repo like this:
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.11/almalinux8-amd64
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
And it worked, I upgraded MariaDB from 10.4 to 10.11.

Maybe it has something to do with the "module_hotfixes=1" line?
I don't think so, but...

It worked...

Thanks

9
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.
With the ssh access key, it never worked.
Making backups as you say, I haven't tried it, if that also restores the email key or password, it's a solution.

What you say about them being stored in the table 'mailbox' of the database 'postfix', is a matter of testing, I doubt it's as simple as moving and that it keeps the passwords, but if it is, it's a very good solution.

Now I'm going to do something else (you know, the MariaDB upgrade) but this week, I'll get a server with AlmaLinux 9, I'll put cwp9 on it, and if you want, we'll start testing.

10
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

11
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!

12
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

13
Modify the question :)

Someone can migrate account from cwp8 to cwp9?

Thanks!

14
Yes, 10.11 is the conservative recommendation, supported for several more years. Only use 11.4 LTS if you have some specific need for some new feature the 11.x branch offers.
Ok, thanks,
This night, I will be made the change to 10.11, I suppose the same instructions that are in reply 6 of this thread.

Thanks.

PS: Sorrys for my bad english

15
Quote
It is save to use 11.6.2 version ?

I am not sure if 11.6.2 is safe to use because I haven't used it.

Starburst says MariaDB 11.4.x works well with CWP. However if you (your sites/projects) don't have some special requirements to use MariaDB 11.4 or 11.6 then I don't recommend to leap from 10.4 to 11.4 (11.6). It is better to use some older MariaDB version and use LTS version following the overseer's recommendation.

And what version LTS you recommended? 10.11?
We made the change with same instructions in your reply 6?
Thanks and regards

Pages: [1] 2 3 ... 9