Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Lamp app in error state `MYSQL_HOST: unbound variable`

    LAMP
    2
    3
    59
    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.
    • ruihildt
      ruihildt last edited by

      I have a LAMP PHP 7.2 app, with some php code running, which is not responding for a few days.

      Here's what I can read in the logs, on repeat:

      Mar 17 16:11:46 ==> Do not override existing index file
      Mar 17 16:11:46 ==> Running custom startup script
      Mar 17 16:11:46 ==> Imported crontab
      Mar 17 16:11:46 ==> Creating credentials.txt
      Mar 17 16:11:46 /app/code/start.sh: line 47: MYSQL_HOST: unbound variable
      

      I have tried to restore a backup but I keep getting Manifest version must be 2.
      When I tried to update the app to the latest package, the check for Updates never stop loading.

      What can I do to solve this?

      nebulon 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff @ruihildt last edited by

        @ruihildt the solution is provided at https://forum.cloudron.io/topic/6612/lamp-unbound-variable-mysql

        ruihildt 1 Reply Last reply Reply Quote 0
        • Moved from Support by  nebulon nebulon 
        • ruihildt
          ruihildt @nebulon last edited by

          @nebulon Thanks, I had searched before posting, but not well enough apparently. 😉

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB