Can't login to admin when site is maintainance mode

Technical Support

Suggested Topics

  • 0 Votes
    1 Posts

    Hi, I switched from docker install to normal install and I wonder if i can automate updates because I will 100% forget to apply them in the long term

    I tried to create a script to run once a month to do this:

    delete everything except config.json, packages.json and uploads

    get latest source for the 3.x branch from github

    run ./nodebb upgrade as node user, then start it

    but then I noticed that ./nodebb upgrade can ask "do you want to upgrade this plugin Y/N?", and so it can't be run attended in a script

    I checked in the help and I did not see a command to make it unattended, so I resorted to just run it as ./nodebb upgrade -mib && ./nodebb start, which looks like it does not ask questions

    What do you think?

  • 0 Votes
    8 Posts

    @א-ש if your database is damaged, then immediate retrieval won't be possible. Do you at least have a backup of the database ? From the comment below around accepting the loss of posts and users, it doesn't seem to be the case.

    What I always do is take a copy of the CSS and keep it up to date in a text file outside of NodeBB.

  • 0 Votes
    2 Posts

    @arc002 is just the data the template was run with. Changing it does nothing to the already rendered page.

    What you want is to add a hook for filter:topics.getand modify the data there.

  • Can't change Site Logo?

    Technical Support
    0 Votes
    8 Posts

    @PitaJ It should be related to cache.

    My boss showed me the website and on her browser and it used the most recent upload.

    I tried Firefox instead of Chrome and it showed up on my Firefox as well.

    So it must have been because of the cache, I'll see what I can do to make it appear on Chrome, but everything should be fine.

    Thanks so much everyone.


    Yeah, just cleared the cache via Tools > More Tools > Clear browsing data; everything's good.

    I feel so dumb, thanks again everyone.

  • 0 Votes
    18 Posts

    @Leonardo-Galani YEP... avatar removed.. and post now working fine...