- This topic has 17 replies, 2 voices, and was last updated 1 year ago by
Vikalp.
-
AuthorPosts
-
-
April 5, 2022 at 1:26 am #353
Vikalp
ParticipantHello, I am currently running Kloxo-MR and wish to switch to KloxoNG. Do I need to follow any specific steps to make the switch? I have no idea about the procedure to follow.
I have 4 websites running, 2 of them on WordPress and need to update PHP to 7.0 at least (currently at 5.6) for some of the plugins to function correctly. That is one of the main reason for the switch to KloxoNG. Can it be done?
Thanks.
-
April 5, 2022 at 1:45 am #356
John Pierce
KeymasterAs long as you are using Centos 7 you can upgrade from Kloxo-MR to KloxoNG.
The process cannot be reversed and make sure you’ve made a backup (or taken a snapshot) of your VM (or instance) so you can restore to your previous version if there is a problem.
Note: Kloxo-MR’s backup tools are broken so don’t trust it to make a copy of your install – you must back up the entire VM not just Kloxo.
Use the installation instructions at https://github.com/KloxoNGCommunity/kloxong/blob/master/how-to-install.txt
Or just follow these commands
cd /
yum update -y
cd /tmp
rm -f kloxong*
rpm -ivh https://github.com/KloxoNGCommunity/kloxong/raw/initial-rpm/kloxong-release.rpm
cd /
yum clean all
yum update kloxong-* -y
yum install kloxong -y
sh /script/upcp -
April 5, 2022 at 4:39 am #357
Vikalp
ParticipantThanks, Yes, I have Centos 7 installed on my VPS, running Kloxo-MR, where all the websites are hosted.
Will try upgrading and see how it goes.
Regarding PHP, does KloxoNG comes with PHP7 or do I have to take some additional steps later on in order to update PHP?
Thanks.
-
April 5, 2022 at 10:32 am #358
John Pierce
KeymasterKloxoNG supports php up to version 7.4 (next release will also have php 8 but not ready to release yet).
You can select the php versions on the “Webserver Configure” screen. My preferred configuration for WordPress is to add php 7.4 with “Multiple PHP Install”
Then for each domain go to “Web Features” and select the required php version from the “PHP Selected” pull down.
-
April 1, 2024 at 7:02 am #410
Vikalp
ParticipantSo after almost 2 years of posting this topic I finally gather the courage to upgrade to KloxoNG from Kloxo-MR. Just hope the server doesn’t break. Will post here if any problems occur, wish me luck.
Thanks.
-
April 1, 2024 at 9:07 am #411
John Pierce
KeymasterGood luck 🙂
-
April 2, 2024 at 7:04 pm #413
Vikalp
ParticipantI am getting some error messages but unable to write here or post images since wordpress spam protection keeps blocking me. How can I post?
Thanks.
-
April 2, 2024 at 11:53 pm #414
John Pierce
KeymasterEmail the error messages to info@kloxong.com
-
April 3, 2024 at 7:10 pm #415
Vikalp
ParticipantThanks, have sent the email with the error messages.
-
April 3, 2024 at 10:37 pm #416
John Pierce
KeymasterOk, so your error is when executing the line
# rpm -ivh https://github.com/KloxoNGCommunity/kloxong/raw/initial-rpm/kloxong-release.rpm
you get the error
“Failed dependencies: mratwork-release > 0 is obsoleted by kloxong-release-0.1.1-1.noarch”
kloxong-release contains the yum repository setting for kloxong and is meant to replace mratwork-release .
Because there is a dependency problem, you could try manually removing mratwork-release and force install kloxong-release.
Remove mratwork-release
rpm -e –allmatches –nodeps –noscripts –notriggers mratwork-release
if that works then try
Force install kloxong-release
rpm -ivh –nodeps https://github.com/KloxoNGCommunity/kloxong/raw/initial-rpm/kloxong-release.rpm
-
April 7, 2024 at 2:52 pm #417
Vikalp
ParticipantSorry, for the late reply, got stuck up in some work. Just now got back to it and did as you advised and was able to transform to KloxoNG just fine!
Everything is working as intended, switched my sites to PHP7.4 and everything working fine.
Thanks for the help. Will also look forward to contribute to the project in any way possible.
Cheers for the good work! 🙂
-
This reply was modified 1 year, 1 month ago by
Vikalp. Reason: Typo
-
April 8, 2024 at 1:49 am #419
John Pierce
KeymasterGlad to hear it worked.
Work is underway on Kloxo 8 but it is still early days. Centos 7 is approaching End of Life so I’m hoping to have a release out before Jun 30, 2024.
-
April 8, 2024 at 6:17 am #420
Vikalp
ParticipantYes, I read about Centos7 reaching EOL the other day, was wondering what would happen then.
-
April 25, 2024 at 9:53 am #421
Vikalp
ParticipantHi, sorry to bother you again, but I did
yum update
and I think it broke the mysql/maria-db. Since then I am gettingDB Execute Failed. 1286 Unknown storage engine 'InnoDB'
errors on some of my sites using innoDB engine.I am attaching the log of the yum update, it said there is an update available for mariadb but failed installing it. I think its related to it.
===========================================
===========================================
===========================================
Please advice what can be done?Thanks.
-
This reply was modified 1 year, 1 month ago by
-
April 25, 2024 at 10:21 am #423
John Pierce
KeymasterMariaDB probably didn’t upgrade when you switched to KloxoNG.
Try upgrading to 10.5
1. Just to be safe make a backup copy of the database folder /var/lib/mysql
2. Now look at file /etc/my.cnf.d/server.cnf and check that the line skip-innodb is commented out and looks like:
#skip-innodb
3. Stop MariaDB-server with
service mysql stop
4. then upgrade MariaDB with
sh /script/mariadb-upgrade
-
April 25, 2024 at 1:35 pm #424
Vikalp
ParticipantThanks a ton! Updated successfully to 10.5
=============================
=============================Also had to do
mariadb-upgrade -u root -p
after the update otherwie was gettingDB Execute Failed. 1558 Column count of mysql.proc is wrong.
error.Everything working as intended now.
Regards.
-
-
April 26, 2024 at 2:34 am #425
John Pierce
KeymasterThanks for the feedback
/script/mariadb-upgrade
runsmysql_upgrade -u root -p
after it swaps out the MariaBD versions.In my installs /usr/bin/mysql_upgrade is a symlink to /usr/bin/mariadb-upgrade so I would have thought it would have run that program and fixed the problem.
Maybe I need to get the script to run /usr/bin/mariadb-upgrade also?
-
April 27, 2024 at 6:43 am #426
Vikalp
ParticipantMaybe I need to get the script to run /usr/bin/mariadb-upgrade also?
Yes, that would be good.
-
-
AuthorPosts
- You must be logged in to reply to this topic.