• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
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
v3.5.2 Latest
Buy Hosting

Easier Update

Scheduled Pinned Locked Moved Feature Requests
12 Posts 5 Posters 3.5k Views
    • 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.
  • liberaltechL Offline
    liberaltechL Offline
    liberaltech
    wrote on last edited by
    #1

    It would be very cool to see an update button on the dashboard of the ACP. Having to update the forum using the command line can be very difficult for some.

    Has this been suggested already?

    scottalanmillerS 1 Reply Last reply
    2
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #2

    Hey there. Thanks for the suggestion. We've wanted something like that, but because of the myriad of ways to install and configure NodeBB, there is no foolproof way to do it. There is also the risk of enabling behavior that could get people in trouble, e.g. their forum not working anymore .

    In that sense, while it sucks that you have to use the command line to upgrade NodeBB, it raises the bar enough so that you ought to be able to help yourself if you get stuck.

    We also would love a way to back up NodeBB with one click, but alas... same issue

    scottalanmillerS liberaltechL 2 Replies Last reply
    0
  • scottalanmillerS Offline
    scottalanmillerS Offline
    scottalanmiller Community Rep
    replied to julian on last edited by
    #3

    @julian said in Easier Update:

    We also would love a way to back up NodeBB with one click, but alas... same issue

    If you could tackle the backup bit, the update bit would be pretty easy 🙂

    1 Reply Last reply
    0
  • scottalanmillerS Offline
    scottalanmillerS Offline
    scottalanmiller Community Rep
    replied to liberaltech on last edited by
    #4

    @liberaltech said in Easier Update:

    It would be very cool to see an update button on the dashboard of the ACP. Having to update the forum using the command line can be very difficult for some.

    Has this been suggested already?

    NodeBB Upgrade Guide

    As GroveSocial does this for many more sites than a normal company, we took the five minutes to assemble and test a one liner for upgrading NodeBB. Wanted t...

    favicon

    MangoLassi (mangolassi.it)

    The way that we do it works really well for us.

    1 Reply Last reply
    0
  • liberaltechL Offline
    liberaltechL Offline
    liberaltech
    replied to julian on last edited by
    #5

    @julian what about being able to export the data as a json file so that we can just import it into a fresh new version of NodeBB?

    scottalanmillerS 1 Reply Last reply
    0
  • scottalanmillerS Offline
    scottalanmillerS Offline
    scottalanmiller Community Rep
    replied to liberaltech on last edited by
    #6

    @liberaltech said in Easier Update:

    @julian what about being able to export the data as a json file so that we can just import it into a fresh new version of NodeBB?

    That's not a bad idea. A single file that holds everything would be awfully nice. Then that could be automated to send backups somewhere, too. Like to Amazon or Backblaze.

    liberaltechL julianJ 2 Replies Last reply
    0
  • liberaltechL Offline
    liberaltechL Offline
    liberaltech
    replied to scottalanmiller on last edited by
    #7

    @scottalanmiller I do this with my Ghost blog updates. I prep and test the new version and when it's up and running I export the data from the old blog and import it into the new version. Once I see that no errors occur I deploy it into the production repo. It's a pretty smooth transition.

    1 Reply Last reply
    0
  • E Offline
    E Offline
    evoixmr
    wrote on last edited by
    #8

    How do you all upgrade? here's mine.
    $ cd nodebb
    $ git checkout v1.x.x && git pull
    $ systemctl stop nodebb
    $ ./nodebb upgrade
    $ systemctl start nodebb

    I'm running two website, so I have to do this twice.

    1 Reply Last reply
    0
  • phitP Offline
    phitP Offline
    phit
    wrote on last edited by
    #9

    assuming you are already on the v1.x.x branch

    git fetch
    git stash
    git pull
    ./nodebb upgrade
    git stash apply
    

    then fix the merge conflicts if there are any

    1 Reply Last reply
    1
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    replied to scottalanmiller on last edited by
    #10

    @scottalanmiller said in Easier Update:

    @liberaltech said in Easier Update:

    @julian what about being able to export the data as a json file so that we can just import it into a fresh new version of NodeBB?

    That's not a bad idea. A single file that holds everything would be awfully nice. Then that could be automated to send backups somewhere, too. Like to Amazon or Backblaze.

    That'd be a pretty big file, no?

    scottalanmillerS liberaltechL 2 Replies Last reply
    0
  • scottalanmillerS Offline
    scottalanmillerS Offline
    scottalanmiller Community Rep
    replied to julian on last edited by
    #11

    @julian said in Easier Update:

    @scottalanmiller said in Easier Update:

    @liberaltech said in Easier Update:

    @julian what about being able to export the data as a json file so that we can just import it into a fresh new version of NodeBB?

    That's not a bad idea. A single file that holds everything would be awfully nice. Then that could be automated to send backups somewhere, too. Like to Amazon or Backblaze.

    That'd be a pretty big file, no?

    Yeah, I would expect so. Our database is about 1GB, but if you output to JSON and GZIP, it would not be so bad. The bigger that "one file" is, the more important a good backup mechanism is 🙂

    Even the biggest sites talking about 50GB databases, if your site is that big, you are prepared to accommodate a backup that big.

    1 Reply Last reply
    0
  • liberaltechL Offline
    liberaltechL Offline
    liberaltech
    replied to julian on last edited by
    #12

    @julian what if this file could be broken up categorically? Export what you need? I would only require user info to be exported. I can manually set up pluggins since sometimes some break and therefore wouldn't want to upgrade my forum until those plugins are resolved.

    Would user data alone create such a large file?

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development