After latest admin/upgrade my Admin dashboard won't load

Installed v2.2.0.beta3 +73

After I performed a recent admin/upgrade my Admin dashboard won’t load, just sits there spinning and then loads this:

The rest of the site works just fine.

In addition, that specific link it mentions which it seems loads the data for the graphs

/admin/dashboard/general.json

takes awhile and then gives this:

{"updated_at":"2018-10-19T18:38:11.106Z","last_backup_taken_at":"2018-10-19T18:14:25.000Z","disk_space":null}

Well, there’s your problem… you have null disk space :wink:

2 Likes

I have plenty of space, nothing via df -h is out of space. Also everything works as it should except for the Admin graphs. I’ve done a few /admin/upgrade since with no problems. Backups continue to happen with no issues.

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            2.0G     0  2.0G   0% /dev
tmpfs           395M   46M  350M  12% /run
/dev/xvda1       99G   17G   78G  18% /
tmpfs           2.0G  1.1M  2.0G   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
/dev/xvdf        50G   20G   27G  43% /var/lib/docker
/dev/xvdg        50G  8.9G   38G  20% /var/docker/shared/standalone/backups/default
cgmfs           100K     0  100K   0% /run/cgmanager/fs
tmpfs           395M     0  395M   0% /run/user/1000
none             50G   20G   27G  43% /var/lib/docker/aufs/mnt/ef1a013ecf1a173d19b2459a065f61eb1d24e597ef94afcefc87761b8dcceff1

I also just did a rebuild and it’s still doing this…

Ok so no one has any ideas here? =) My dashboard is effectively dead and I have rebuilt multiple times with no errors.

Looking into my browser console:

content.js:150 Error: Cannot set user agent for iframe with location different to this page

and

error in _ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:9861

Uncaught TypeError: e.indexOf is not a function
    at we.fn.init.we.fn.load (_ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js:9861)
    at window.jsonFeed (b9a6ce49-e39b-4ac1-b776-b740bd27ba7b.js:6)
    at geolocation.onetrust.com/cookieconsentpub/v1/geo/countries/EU?callback=jQuery33109029024044289335_1540209825048&_=1540209825049:1

a number of Failed to load resource: net::ERR_BLOCKED_BY_CLIENT for google analytics, twitter, facebook, etc.

and a number of errors for /whos-online

MESSAGE BUS FAIL: callback /whos-online caused exception s.user.get is not a function

then these:

admin/dashboard/general.json?_=1540209825052:1 Failed to load resource: the server responded with a status of 502 (Bad Gateway)

general.json:1 Failed to load resource: the server responded with a status of 502 (Bad Gateway)

I see this thread:

https://meta.discourse.org/t/latest-update-breaks-admin-dashboard/30987

which suggests a bad upgrade or incompatible plugin… no plugins added / changed between the last time things worked and the /admin/upgrade - so potential bad upgrade? I didn’t receive any errors either when rebuilding or the upgrade, so unsure what to do at this point?

Does your site work in safe mode? If it does, then try to find the plugin(s) that’s causing your issues.

1 Like

Generally these errors only indicate that you are using some tool that blocks trackers

This is unrelated, is an error of which @david is aware of and that will fix as soon as he has time to do it (it appears from the previous version of Discourse).

Each update may inadvertently break third-party plugins already installed. Do you have unofficial plugins installed? Try to uninstall them and do the rebuild only with the official ones.

Much more likely it could be that you have the same problem that happened here:

2 Likes

Same issue in safe mode with everything disabled.

All official, with the exception of Who's Online

And yes, looks to be the same…