Skip to content
  • 0 Votes
    7 Posts
    711 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.

  • 0 Votes
    24 Posts
    10k Views
    H

    @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... 👏

  • 0 Votes
    5 Posts
    3k 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.