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



  • 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


  • Senior Developer

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



  • … 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.



  • @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…


Log in to reply
 

318
Online

7.4k
Users

14.5k
Topics

136.7k
Posts