I am trying to install Discourse on a Digital Ocean Droplet all goes well, except I need to run a script that only works with v1.7.2 (long story just trust me!)
Tried everything I can think of to get Docker to do a clean install of v1.7.2 - does anyone know the correct procedure please?
I searched and found that solution earlier (it works using āv1.7.2ā) but it seems to be only be able to do that as a rebuild the .yml file doesnāt exist until after the newest version has been installed.
I need to be able to change the version number between the install and the setup.
All I have managed to do so far is install and then downgrade, thatās not what I am looking for.
The reason for this is that there seems to be some kind of database incompatibility with the script I am trying to run and the rebuild doesnāt fix it - although this is a guess!
You can create app.yml manually (there is a template in /var/discourse/samples/standalone.yml) ā but if you already bootstrapped and want to downgrade, this is easy as long as you are willing to lose your data. Simply update app.yml, then run this:
You can cp samples/standalone.yml containers and edit it by hand, or use ./discourse-setup and hit a control C after itās through configuring. Thereās an undocumented 5 second pause before it starts the build, for just that purpose.
Brillaint, this is the magic dust I was looking for and couldnāt find
I am already rebuilding and know itās working as Iāve seen all the database commands run again - so have a lot of confidence I am going to end up with a 1.7.2 and corresponding database!