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

    Upgrade to 1.5.9 failure

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    3
    383
    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.
    • A
      ariederer26
      last edited by

      I have had a working fog system running on Ubuntu 16.04 for quite some time. I began to upgrade to 1.5.9
      It fails at setting up the MySQL user and database. It asks for the database root user password. I can’t remember what this would be. This was setup so long ago.
      Anyway the installer fails at this point because it can’t connect to the database.
      I am also unable to get back to using my 1.5.6 that was previously working.
      What am I missing here?

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @ariederer26 Probably best to reset the database root password first to be able to go ahead and more important, take a full backup of the database!

        https://www.digitalocean.com/community/tutorials/how-to-reset-your-mysql-or-mariadb-root-password (skip the parts/commands on mariadb)

        Some people report that the directory containing the socket file might be missing after initially stopping mysqld. In that case you would see a connection error when trying to access the DB. Run sudo mkdir -p /var/run/mysqld just before the command sudo mysql_safe ... from the tutorial to work around this.

        In case you still get a connection error, check out this topic: https://stackoverflow.com/a/41987711

        Now before you go ahead I highly recommend you backup the database and possibly all your image files as well!!

        As well I might suggest you use these backups to setup a complete new FOG server instead of updating it. Why? Because Ubuntu 16.04 is many years old and EOL! Setting up a new FOG server on a fresh clean install and recovering the backup will be much quicker than trying to update FOG on such an old system.

        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

        A 1 Reply Last reply Reply Quote 0
        • A
          ariederer26 @Sebastian Roth
          last edited by

          @sebastian-roth Thank you for the quick reply. My intentions are to move this to new hardware. I will also install a newer version of Ubuntu. I’m trying to backup the DB. Not exactly sure how to do this. Along with the image files. I would think I could just transfer the images from the existing hard drive to the new server.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          181

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project