Brief description of the problem
- mistakenly updated system (zypper update) Rockstor updated 5.0.8 → 5.0.15
- Lots of things broke, fixed them but cannot get web-ui to work properly (can login normally, but then all widgets and tools are not displayed. Just logo, and title bar with time and shell)
- I believe that jslibs are not being imported
I’ve been chatting with chatgpt all day in seemingly circular motions about this.
the venv seems to be running python 3.11. A migration step didn’t succeed. From history it seems that this finally fixed that: /usr/local/bin/poetry run python src/rockstor/manage.py migrate --fake-initial
cGPT changed my nginx.conf because it wasn’t serving static files correctly? I think it’s back but the primary difference was between
location /static/ {
alias /opt/rockstor/static/;
}
and
location /static {
root /opt/rockstor/;
}
I didn’t have any jslibs. But was able to extract it from
tar xvzf ../rockstor-jslibs.tar.gz
It wanted jquery to be there but I got a little confused at this point. By suggestion - I did get curl -LO https://code.jquery.com/jquery-2.2.4.min.js , renamed it to jquery.min.js and copied it to jquery directory. I’m confused by the GitHub - rockstor/rockstor-jslibs: Third party javascript libraries used in the frontend containing something that looks like jquery.i18n.js
Finally “we” got into a loop where it wanted this to work:
/opt/rockstor/.venv/bin/python src/rockstor/manage.py collectstatic --noinput
It kept telling me that it should collect the static files and jslibs files together.
Never does the web interface start working. What can I clean up, and re-install to get this working again? I really don’t want to start over but I do have full backups of this system.
Sorry, as there is lots of frontend confusion on my end.