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

    Installation / php / mysql / apache2 - I messed it up

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    4
    317
    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.
    • F
      fogusnew
      last edited by

      Hi community!

      Well, I think I really messed it up. Trying to get a memory limit error solved (probably) I created a lot of new problems.

      Here is the situation:

      • I had a debian 9 running with fog for about 1 year
      • I updated Fog to 1.5.9-RC2 to get rid of a problem with snapins (could not upload any anymore)
      • So I ran into the memory limit problem, but alt least Fog was running (I could deploy)
      • To solve this I decided to upgrade the machine to debian 10 to get php7.3 (also maraDB was upgraded)
      • This worked well on the first glance, Fog was running deployment was still possible, but apache was still using php7.0
      • So I removed php completely and installed php7.3 “manually” (which is standard in Debian 10)
      • This put Fog to death. The installation of php7.3 was no problem, but apache was not taking the new php version to action. Whatever I tried.
      • As a last resort I tried to run the Fog Install script. This works until the script asks for the root mysql password. I know this password, I wrote it down, I am able to get root access to the database via sudo mysql_secure_installation, I can change it, etc.
      • However, the install script of Fog does not take this password. “Failed” is the only answer it gives.

      Anyone out there, who can help me sort this out? Any help is appreciated!
      Thanks!
      Chris

      F 1 Reply Last reply Reply Quote 0
      • F
        fogusnew @fogusnew
        last edited by

        @fogusnew said in Installation / php / mysql / apache2 - I messed it up:

        • However, the install script of Fog does not take this password. “Failed” is the only answer it gives.

        Hold your breath! I needed to upgrade the database tables. Now the the script has access to the database. So maybe the install script will cure the story…

        1 Reply Last reply Reply Quote 0
        • F
          fogusnew
          last edited by

          … And it did!
          Solved so far. Even the memory limit problem is gone.
          Well, I keep this post in case anybody needs this information later.
          @admin : You can decide otherwise and delete the entries.

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

            @fogusnew Well done and thanks for posting this here. Might be useful for other users as well! 🙂

            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 / 1
            • First post
              Last post

            196

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project