How to upgrade?

Hi, is there any procedure on how to upgrade self hosted CTFd ? Can’t find any information on that

There are several ways to update CTFd when it is self hosted. They mostly depend on how you have your CTFd instance setup.

One option is to use the export feature that CTFd provides and export all of the data with your instance. From there you can blow your existing instance away (delete everything) and then redeploy the latest version of CTFd. Following that, you can then use the import features to import your config that you had previously.

The other option that you have is to shutdown CTFd, run git pull and then start CTFd up again.

thx I appreciate it !

Hi, will both options keep all the configs, user and challenge info? Thanks