• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Kloxo Next Generation

Kloxo Next Generation Community

The Next Generation of Kloxo
  • Home
  • Get Kloxo
  • How can you help
    • Join the Community
    • Donate
  • Support
    • Registration
    • Developer Resources
  • News

Upgrading from Kloxo-MR to KloxoNG?

Tagged: Mariadb, mysql

  • This topic has 17 replies, 2 voices, and was last updated 1 year ago by Vikalp.
Viewing 13 reply threads
  • Author
    Posts
    • April 5, 2022 at 1:26 am #353
      Vikalp
      Participant

        Hello, 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
        Keymaster

          As 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
          Participant

            Thanks, 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
            Keymaster

              KloxoNG 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
              Participant

                So 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
                Keymaster

                  Good luck 🙂

                • April 2, 2024 at 7:04 pm #413
                  Vikalp
                  Participant

                    I 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
                    Keymaster

                      Email the error messages to info@kloxong.com

                    • April 3, 2024 at 7:10 pm #415
                      Vikalp
                      Participant

                        Thanks, have sent the email with the error messages.

                      • April 3, 2024 at 10:37 pm #416
                        John Pierce
                        Keymaster

                          Ok, 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
                          Participant

                            Sorry, 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
                              Keymaster

                                Glad 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
                                Participant

                                  Yes, I read about Centos7 reaching EOL the other day, was wondering what would happen then.

                                • April 25, 2024 at 9:53 am #421
                                  Vikalp
                                  Participant

                                    Hi, sorry to bother you again, but I did yum update and I think it broke the mysql/maria-db. Since then I am getting DB 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.
                                    ===========================================
                                    maria-db error 1
                                    ===========================================
                                    maria db error 2
                                    ===========================================
                                    Please advice what can be done?

                                    Thanks.

                                • April 25, 2024 at 10:21 am #423
                                  John Pierce
                                  Keymaster

                                    MariaDB 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
                                      Participant

                                        Thanks a ton! Updated successfully to 10.5

                                        =============================
                                        mariadb upgraded
                                        =============================

                                        Also had to do mariadb-upgrade -u root -p after the update otherwie was getting DB 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
                                      Keymaster

                                        Thanks for the feedback

                                        /script/mariadb-upgrade runs mysql_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
                                        Participant

                                          Maybe I need to get the script to run /usr/bin/mariadb-upgrade also?

                                          Yes, that would be good.

                                      • Author
                                        Posts
                                      Viewing 13 reply threads
                                      • You must be logged in to reply to this topic.
                                      Log In

                                      Primary Sidebar

                                      Login

                                      Log In
                                      Register

                                      Donate

                                      Help Support Kloxo Next Generation

                                      • donate monthly
                                      • donate once only
                                      Select a Donation Option (USD)

                                      Enter Donation Amount (USD)
                                      [crypto-donation-box]

                                      Recent Replies

                                      • Upgrading from Kloxo-MR to KloxoNG?
                                      • Upgrading from Kloxo-MR to KloxoNG?
                                      • Upgrading from Kloxo-MR to KloxoNG?
                                      • Upgrading from Kloxo-MR to KloxoNG?
                                      • Upgrading from Kloxo-MR to KloxoNG?

                                      Recent Topics

                                      • Update php to 8.1
                                      • Install Kloxo ng ok now
                                      • ftp connection error
                                      • Unable to create email account
                                      • Kloxong 0.1.3-2 released

                                      Forums

                                      • AWS
                                      • KloxoNG Announcements
                                      • KloxoNG Bugs
                                      • Troubleshooting
                                      • KloxoNG Releases
                                      • KloxoNG Development
                                      • KloxoNG Support
                                      • Frequently asked questions
                                      Copyright © 2025 · Kloxo Next Generation · Legals · Privacy · Log in