• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Upload Image From HDD 500GB to SSD 120GB

Scheduled Pinned Locked Moved Solved
FOG Problems
6
35
5.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    george1421 Moderator @Gilberto Ferraz
    last edited by Oct 31, 2019, 2:52 PM

    @Gilberto-Ferraz Well, that isn’t what I wanted to hear. We had another thread just a few days ago where the mssql server went away.

    Lets start with

    sudo systemctl restart mariadb
    

    If no luck then lets see whats the status is

    sudo systemctl status maridb
    

    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

    G 1 Reply Last reply Oct 31, 2019, 2:55 PM Reply Quote 0
    • G
      Gilberto Ferraz @george1421
      last edited by Oct 31, 2019, 2:55 PM

      @george1421 said in Upload Image From HDD 500GB to SSD 120GB:

      sudo systemctl status maridb

      bart2018@bart2018fog:~$ sudo systemctl restart mariadb
      Failed to restart mariadb.service: Unit mariadb.service not found.
      bart2018@bart2018fog:~$ sudo systemctl status maridb
      Unit maridb.service could not be found.
      bart2018@bart2018fog:~$

      is that mariadb is no longer on my server

      G 1 Reply Last reply Oct 31, 2019, 2:57 PM Reply Quote 0
      • G
        george1421 Moderator @Gilberto Ferraz
        last edited by george1421 Oct 31, 2019, 8:57 AM Oct 31, 2019, 2:57 PM

        @Gilberto-Ferraz I’m not a ubuntu admin but what does sudo apt-get install mariadb give you?

        @Developers would the fog 1.5.7 log list if the database was uninstalled for any reason?

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        G 1 Reply Last reply Oct 31, 2019, 3:02 PM Reply Quote 0
        • G
          Gilberto Ferraz @george1421
          last edited by Oct 31, 2019, 3:02 PM

          @george1421 I can’t even install it 🙂 I’m using OS ubuntu 18.08.3 LTS.

          alt text

          G 1 Reply Last reply Oct 31, 2019, 3:05 PM Reply Quote 0
          • G
            george1421 Moderator @Gilberto Ferraz
            last edited by george1421 Oct 31, 2019, 9:06 AM Oct 31, 2019, 3:05 PM

            @Gilberto-Ferraz then try sudo apt-get install mysql

            I do find it very strange that the database service would be installed by the fog installer. Something unexpected must be going on with ubuntu.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            G T 2 Replies Last reply Oct 31, 2019, 3:11 PM Reply Quote 0
            • G
              Gilberto Ferraz @george1421
              last edited by Oct 31, 2019, 3:11 PM

              @george1421 It is very strange I do not know what happened also does not let install mysql. I try to install version 1.5.7 again?
              alt text

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott @george1421
                last edited by Oct 31, 2019, 3:11 PM

                @george1421 What OS is this being installed from?

                I’m fairly sure 18.04 and newer have mariadb available.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Oct 31, 2019, 3:12 PM

                  On Ubuntu 18.04 it’s mariadb-server I think

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  G 1 Reply Last reply Oct 31, 2019, 3:32 PM Reply Quote 1
                  • G
                    Gilberto Ferraz @Tom Elliott
                    last edited by Oct 31, 2019, 3:32 PM

                    @Tom-Elliott I thought so too, but the update turned out not to work well 😞 I try to install fog 1.5.7 again ??

                    alt text

                    G 1 Reply Last reply Oct 31, 2019, 3:40 PM Reply Quote 0
                    • G
                      george1421 Moderator @Gilberto Ferraz
                      last edited by Oct 31, 2019, 3:40 PM

                      @Gilberto-Ferraz So if you follow Tom’s lead does sudo apt-get install mariadb-server work better.

                      Secondly, I feel I need to apologies since the upgrade should have worked no problem. I have no idea that ubuntu would break.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                      G 1 Reply Last reply Oct 31, 2019, 3:46 PM Reply Quote 0
                      • G
                        Gilberto Ferraz @george1421
                        last edited by Oct 31, 2019, 3:46 PM

                        @george1421 said in [Upload Image From HDD 500GB to SSD 120GB]

                        when i try to reinstall fog 1.5.7 again give me this error when installing mariadb-client and mariadb-server package.

                        alt text

                        G 1 Reply Last reply Oct 31, 2019, 3:54 PM Reply Quote 0
                        • G
                          george1421 Moderator @Gilberto Ferraz
                          last edited by Oct 31, 2019, 3:54 PM

                          @Gilberto-Ferraz so again, if you run sudo apt-get install mariadb-server (now that we know the package name) what does apt-get tell you?

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Sebastian Roth Oct 31, 2019, 4:24 PM Oct 31, 2019, 10:19 PM

                            @Gilberto-Ferraz Too bad I have been away for a couple of hours and did not know the Linux OS you have. If I’d known I would have warned you.

                            There is a known issue when upgrading to 1.5.7 on Ubuntu!! If you say yes when the installer asks if it should re-install Apache/PHP it will also try to force a migration from mysql to mariadb and fails.

                            Here are the steps to manually roll back to MySQL that will still have all your FOG information:

                            sudo -i
                            mv /var/lib/mysql /var/lib/mysql-mariadb
                            apt-get remove mariadb-client mariadb-server
                            cp -a /var/lib/mysql-5.7 /var/lib/mysql
                            apt-get install mysql-client mysql-server
                            systemctl start mysql
                            

                            For more detailed infos read:
                            https://forums.fogproject.org/topic/13492/fog-1-5-7-update-database-issue
                            https://forums.fogproject.org/topic/13703/missing-data-after-fog-1-5-7-upgrade
                            https://forums.fogproject.org/topic/13447/lost-database

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            G 1 Reply Last reply Oct 31, 2019, 11:48 PM Reply Quote 1
                            • G
                              Gilberto Ferraz @Sebastian Roth
                              last edited by Oct 31, 2019, 11:48 PM

                              @Sebastian-Roth

                              Thanks a lot for the help. I’m already weekend. But then I test your solution. I’m glad to hear that the problem was not mine 🙂 but ubuntu 18.04 🙂 You will try to recover the system and install new centos.

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by Nov 1, 2019, 6:03 AM

                                @Gilberto-Ferraz said in Upload Image From HDD 500GB to SSD 120GB:

                                will try to recover the system and install new centos.

                                First make sure you get this all back to running on Ubuntu. Don’t try to move to CentOS in a rush. There are more things that can go wrong when moving to a new Linux OS.

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                1 Reply Last reply Reply Quote 0
                                • 1
                                • 2
                                • 2 / 2
                                2 / 2
                                • First post
                                  30/35
                                  Last post

                                197

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.3k

                                Posts
                                Copyright © 2012-2024 FOG Project