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

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. WordPress (Managed)
  3. WordPress Can't Start Up If WP-Config.php Using 444 chmod

WordPress Can't Start Up If WP-Config.php Using 444 chmod

Scheduled Pinned Locked Moved WordPress (Managed)
6 Posts 4 Posters 819 Views 4 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.
  • I Offline
    I Offline
    IniBudi
    wrote on last edited by joseph
    #1

    I find the issue when I used security recommendations from iThemes Security plugin to set wp-config.php to 444 chmod.

    After restarting the app or boot the server, the WordPress managed, developer, and LAMP can't start up if we used 444 chmod for wp-config.php.

    It's on my machine only or is it bug on Cloudron 8.3?

    Thank you
    Regards

    jdaviescoatesJ 1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by nebulon
      #2

      Is there some error thrown anywhere, and what is the reasoning to change the access rights of that file to 444 ? Presumably those are too restricted for the unix user running apache.

      1 Reply Last reply
      0
      • I Offline
        I Offline
        IniBudi
        wrote on last edited by
        #3

        The app won't start up, but after change the file to 644 chmod. The app can run smoothly.

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          To clarify here, the file in question is basically a config file and will get updated with for example database credentials during app startup. Not too clear what kind of recommendation this is in the first place, but at least this does not really apply to a Cloudron setup here.

          1 Reply Last reply
          0
          • I IniBudi

            I find the issue when I used security recommendations from iThemes Security plugin to set wp-config.php to 444 chmod.

            After restarting the app or boot the server, the WordPress managed, developer, and LAMP can't start up if we used 444 chmod for wp-config.php.

            It's on my machine only or is it bug on Cloudron 8.3?

            Thank you
            Regards

            jdaviescoatesJ Offline
            jdaviescoatesJ Offline
            jdaviescoates
            wrote on last edited by
            #5

            @IniBudi said in WordPress Can't Start Up If WP-Config.php Using 444 chmod:

            iThemes Security plugin

            FWIW I used to use that plugin years ago, but I much prefer and recommend WordFence these days.

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply
            1
            • girishG Do not disturb
              girishG Do not disturb
              girish
              Staff
              wrote on last edited by
              #6

              So, this happens because the package wants to re-configure WP with the correct domain , database etc on start up. Making the config file read only makes it not work. Not sure if this is fixable.

              1 Reply Last reply
              2
              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