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 unbound variable MYSQL

    Support
    3
    3
    276
    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.
    • luckow
      luckow translator last edited by

      What does

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

      mean in an "infinite" loop? App is not responding.

      Pronouns: he/him | Primary language: German

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

        @luckow that LAMP app instance is outdated and has to be replaced by now. If you have a cloudron cli, then you can run cloudron update --app <appdomain> --appstore-id lamp.cloudronapp.php74

        After that you have to potentially update the app, in case those env variables are used. Generally all Cloudron injected env vars are now prefixed with CLOUDRON_ to avoid potential env var collisions.

        1 Reply Last reply Reply Quote 2
        • nebulon
          nebulon Staff @luckow last edited by

          @luckow that LAMP app instance is outdated and has to be replaced by now. If you have a cloudron cli, then you can run cloudron update --app <appdomain> --appstore-id lamp.cloudronapp.php74

          After that you have to potentially update the app, in case those env variables are used. Generally all Cloudron injected env vars are now prefixed with CLOUDRON_ to avoid potential env var collisions.

          1 Reply Last reply Reply Quote 2
          • girish
            girish Staff last edited by

            This is to do with the manifest changes in 7.1. Cloudron manifest v1 is not supported anymore in 7.1. The main change from manifest v1 to v2 is that env variables have the CLOUDRON_ prefix.

            manifest v2 was added ~3 years ago in Cloudron 4.1

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