I’m new to Elgg, so maybe this is just a dumb move on my part.
I’ve installed a default instance of 6.1.3 and initially, all seemed good. Started playing around with the features and Admin options, then (I think) after changing one of the Caching options on Site Settings, I completely lost the CSS rendering of the site. It all seems to be working, just no CSS. I can do a View Source, and click the two CSS files (all.min.css and elgg.css) and they seem to be there and referenced properly. I’ve installed another instance (on a different domain, but same exact server specs), and that’s working fine, but I’m not going to touch the cache settings.
This is a private site (if that matters), and I’m hesitant to invite people to join and do more testing if it could just break after we start loading up information and posts. I’m trying to figure out how to restore the broken site without losing the underlying data. Can I reinstall the PHP and keep the DB intact?
On both sites, the Admin > Information > Server seems to imply that everything is okay (other than Garbage Collection being disabled).
Any ideas what may have gone wrong?
All ideas are appreciated!
Scott
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain

Nikolai Shcherbin - 0 likes
- Use simple cache
- Use system cache
- Scott@scottp

Scott - 1 like
You must log in to post replies.Try disabling these settings on /admin/site_settings:
Then go back to Dashboard and run Upgrade.
If everything worked, change the caching settings back and run Upgrade again.
If this doesn't help and/or you get a message about the upgrade process being blocked, then check the permissions for /data directory on your server.
Permissions should always be set for the server, i.e. www-data, http2 etc
If you run something in the console as root, e.g. php elgg-cli or copy/create something in /data directory, then you may have such problems.
Always change the permissions back with this command:
Learn this also: 1, 2, 3
Tip: use this plugin if you need to control files in your /dataroot directory.
Thanks for the quick reply, Nikolai!
Unfortunately, my problem persists.
Doing the .. disable-cache, upgrade, enable-cache, upgrade .. all seemed to succeed (no errors), but the CSS is still missing. The permissions on my data directory look fine (and files are being written in there). I haven’t really done anything at the command line or made any changes other than the few changes in the Admin / Settings. This is a very vanilla installation.
I reviewed the other links you provided, and none really apply to my situation.
My “production” installation still seems to be working (although I haven’t touched the cache settings). I’m wondering if something has just become corrupted in the “dev” installation. I think I’ll flatten it and reinstall, and then see if I can reproduce the problem. If I can’t reproduce the issue, I’ll just chalk it off to some random corruption. Will let you know how it all goes.
Thanks!