BCHK
(Bcguy)
24 augustus 2022 om 18:04
1
Hi - I’m a non-software coding admin for a Discourse server.
I was running Discourse Version: 2.9.0.beta7 (commit f75a99e93295655f796e63e7d1c42cf613b64117)
And also the Pavilion News plugin.
I upgraded to beta 9 last night and it broke my site.
Is there an easy way to reverse the upgrade? To go back to what I was running before the most recent upgrade?
When I saw the site was broken, I also upgraded the plugin - but nothing changed and the site has lost all the customization.
merefield
(Robert)
24 augustus 2022 om 18:39
2
You should probably post on the News Plugin topic?
However, I’ve just updated to latest Discourse and the latest version of News Plugin and it’s working ok for me. Do you have an error message? Anything in the browser console? (I can’t see anything obvious).
1 like
BCHK
(Bcguy)
24 augustus 2022 om 18:45
3
Hmmm… I contacted Jay Pfafmann and he suggested - could the issue just be one of low disk space? The forum is running, but has lost all customization:
As the previous message suggests, you’re low on disk space.
But you need to ssh in to your server and do something like this:
cd /var/discourse/
./launcher cleanup
maybe edit containers/app.yml and remove the news plugin here?
./launcher rebuild app
merefield
(Robert)
24 augustus 2022 om 18:47
4
I’m not sure what you mean by ‘lost all customisation’.
We’ll need more information on any errors you can see, both in the browser console and in /logs
BCHK
(Bcguy)
24 augustus 2022 om 18:47
5
Would removing some of the older backups free up the space, and be a reasonable course of action?
1 like
merefield
(Robert)
24 augustus 2022 om 18:48
6
If that’s your issue, then yes, deleting a couple of the older backups will help, but you will only create new ones and fill it up again, unless you change the number in settings.
BCHK
(Bcguy)
24 augustus 2022 om 18:49
7
The site normally looks like the top image below, and now looks like the bottom one:
BCHK
(Bcguy)
24 augustus 2022 om 18:50
8
There are no error messages I’m getting. It just seems that the News Plugin is no longer functioning (and the related CSS, etc.)
merefield
(Robert)
24 augustus 2022 om 18:50
9
do you remember when you last upgraded before this time?
BCHK
(Bcguy)
24 augustus 2022 om 18:52
10
Yes - in July to this version of Discourse:
Discourse Version: 2.9.0.beta7 (commit f75a99e93295655f796e63e7d1c42cf613b64117)
merefield
(Robert)
24 augustus 2022 om 18:52
11
You seem to have other components too, be careful its not something else. Where does that menu come from?
In any case you can try removing news temporarily from your app.yml
and rebuilding to see if otherwise things are restored.
BCHK
(Bcguy)
24 augustus 2022 om 18:53
12
Yes - I have these additional plugins and components; You think one of them could be the problem?
1 like
merefield
(Robert)
24 augustus 2022 om 18:54
13
what’s the URL of your site?
merefield
(Robert)
24 augustus 2022 om 18:55
15
When I asked you for any errors in your console, you did not tell me about this:
Looks like Guest Gate has a problem. Remove it for now and report the problem on the Theme Component’s Topic.
2 likes
Canapin
(Coin-coin le Canapin)
24 augustus 2022 om 18:56
16
Robert:
If that’s your issue
I just add a quick reminder of doing a ./launcher cleanup
from time to time to free some disk space.
2 likes
BCHK
(Bcguy)
24 augustus 2022 om 18:56
17
I don’t typically work from the console - only from the discourse admin interface. Where would I see that info?
merefield
(Robert)
24 augustus 2022 om 18:57
18
Browser’s Developer Tools. All admins of self-installs should be familiar with this. Hit F12 in Firefox, for example.
BCHK
(Bcguy)
24 augustus 2022 om 18:58
19
Should I remove Guest Gate entirely, or just turn it off? Does it matter which approach I use?
After I do this - do I need to “reboot” or take some other action to get things to restart and reload properly?
merefield
(Robert)
24 augustus 2022 om 18:58
20
It’s a Theme Component so just remove it from the active Theme, no need to delete it.
1 like