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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. WordPress (Developer)
  3. WordPress Developer not creating wp-config.php, and thus install won't complete

WordPress Developer not creating wp-config.php, and thus install won't complete

Scheduled Pinned Locked Moved WordPress (Developer)
4 Posts 2 Posters 131 Views 2 Watching
  • 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.
  • scookeS
    scookeS
    scooke
    wrote last edited by
    #1

    Well, I manually created a wp-config.php file, and then after a few minutes the start up seemed to populate it with DB info, but then it stalled again lacking Redis info.

    ov 11 22:58:28 shell: reverseproxy: /usr/bin/sudo --non-interactive /home/yellowtent/box/src/scripts/restartservice.sh nginx
    Nov 11 22:58:29 tasks: updating task 30173 with: {"percent":100,"message":"Done"}
    Nov 11 22:58:28 => Changing permissions
    Nov 11 22:58:28 => Updating db settings
    Nov 11 22:58:29 Success: Updated the constant 'DB_HOST' in the 'wp-config.php' file with the value 'mysql:3306'.
    Nov 11 22:58:29 tasks: setCompleted - 30173: {"result":null,"error":null,"percent":100}
    Nov 11 22:58:29 tasks: updating task 30173 with: {"completed":true,"result":null,"error":null,"percent":100}
    Nov 11 22:58:29 taskworker: Task took 11.9 seconds
    Nov 11 22:58:29 Exiting with code 0
    Nov 11 22:58:29 Success: Updated the constant 'DB_NAME' in the 'wp-config.php' file with the value 'stuff'.
    Nov 11 22:58:29 Success: Updated the constant 'DB_USER' in the 'wp-config.php' file with the value 'stuff'.
    Nov 11 22:58:30 Success: Updated the constant 'DB_PASSWORD' in the 'wp-config.php' file with the value 'stuff'.
    Nov 11 22:58:30 => Updating redis settings
    Nov 11 22:58:30 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 22:58:40 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 22:58:50 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 22:59:00 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 22:59:10 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 22:59:20 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 22:59:30 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 22:59:31 Error: Error establishing a database connection.
    Nov 11 22:59:40 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 22:59:50 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 23:00:01 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 23:00:11 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 23:00:20 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 23:00:30 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 23:00:31 Error: Error establishing a database connection.
    Nov 11 23:00:32 Error: The constant or variable 'WP_REDIS_HOST' is not defined in the 'wp-config.php' file.
    Nov 11 23:00:32 Error: The constant or variable 'WP_REDIS_PORT' is not defined in the 'wp-config.php' file.
    Nov 11 23:00:33 Error: The constant or variable 'WP_REDIS_PASSWORD' is not defined in the 'wp-config.php' file.
    Nov 11 23:00:40 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 23:00:50 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 23:01:02 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 23:01:10 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 23:01:20 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 23:01:30 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    Nov 11 23:01:33 Error: Error establishing a database connection. This either means that the username and password information in your `wp-config.php` file is incorrect or that contact with the database server at `mysql:3306` could not be established. This could mean your host’s database server is down.
    Nov 11 23:01:34 => WordPress does not seem to be working or is not installed
    Nov 11 23:01:40 => Healthcheck error: Error: connect ECONNREFUSED 172.18.19.204:80
    

    I did find this app to be infected with malware. I don't know what kind but the culprit was a wp-author.php file. My host, ssdnodes, received a complaint and they notified me and gave me 24 hours to deal with it. I deleted the entire thing, and then have been trying to reinstall a fresh WordPress (Developer) app at the same site.

    What is going on?

    A life lived in fear is a life half-lived

    1 Reply Last reply
    1
    • J
      J
      joseph
      Staff
      wrote last edited by
      #2

      I guess this is related to https://forum.cloudron.io/topic/16283/a-number-of-my-php-apps-have-gone-down.-related-to-the-recent-exploits-i-hope-not./7 . I imagine a reboot fixed this issue also? Something was up with the mysql addon and was blocking connections .

      1 Reply Last reply
      2
      • scookeS
        scookeS
        scooke
        wrote last edited by
        #3

        Yes, this app also installed properly after the restart. I hesitated to restart initially as I hoped people might spot something in my posts. But, if a restart "fixed" it, then I guess all is well. But, why would this have happened in the first place? All 6, plus this reinstall, happened at the same time.

        A life lived in fear is a life half-lived

        1 Reply Last reply
        1
        • J
          J
          joseph
          Staff
          wrote last edited by joseph
          #4

          But, why would this have happened in the first place?

          Yeah, I only have a guess but would have been easier to debug it when the problem was happening. Can you report again or write to support@ if this happens again (unlikely)? I can debug further .

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better đŸ’—

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search