Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. Tags
    3. maintenance
    Log in to post
    • M

      Turn maintenance mode on/off from script.
      Technical Support • 503 maintenance script • • MoJo

      7
      0
      Votes
      7
      Posts
      51
      Views

      M

      Weird,

      > use nodebb switched to db nodebb > db.objects.update({ _key: "config" }, { $set: { "maintenanceMode": 1 } }); WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 1 })

      NodeBB restart.

      It's working, checked APC and the switch is turned on.

      I think i was loged in as administrator before, but i was checking maintenance page in APC and switch was turned off.

    • henrywright

      SOLVED How to customise the maintenance page?
      Technical Support • maintenance • • Henry Wright

      24
      0
      Votes
      24
      Posts
      7478
      Views

      henrywright

      @psychobunny said:

      BTW, this has been available the whole time at https://community.nodebb.org/502.html

      😉

      I'd love to say that's where my screenshot came from but spending the day spamming F5 is closer to the mark 😩

      Thanks for the Gist. Those animations... 👏

    • J

      Forbidden Login Maintenance
      General Discussion • login maintenance • • jun

      5
      0
      Votes
      5
      Posts
      2408
      Views

      A

      @jun said:

      a forbidden word.

      voldemort? 😆

      Maintenance mode locks access to everyone except UID 1. But you should get a " this page is down for maintenance" message. Not 403 forbodën.