glitchsoc-web: .css/.js 404 not found
junochat opened this issue · 2 comments
Current_version: 2022.02.26~ynh1
Updating to latest breaks web UI appearance, using Vanilla Default flavour.
journalctl -u glitchsoc-web
- May 09 15:58:57 bundle[16448]: [bf63cfcc-46db-4561-b7ca-279f17ab34ff] method=GET path=/packs/js/core/common-80d3b22e5f9efb52faab.chunk.js format=*/* controller=ApplicationController action=raise_not_found status=404 duration=114.34 view=68.24 db=21.74
- May 09 15:58:57 bundle[16448]: [0a924c99-90c9-45d7-97b8-c331a40fc7a8] method=GET path=/packs/css/core/common-fccd12a2.chunk.css format=css controller=ApplicationController action=raise_not_found status=404 duration=135.04 view=2.75 db=39.50
- May 09 15:58:57 bundle[16448]: [fede2636-ddc5-4754-b9bf-a8245492a189] method=GET path=/packs/js/locales/vanilla/en-4f1f5ca51e388c118308.chunk.js format=*/* controller=ApplicationController action=raise_not_found status=404 duration=176.16 view=20.03 db=44.83
- May 09 15:58:57 bundle[16448]: [77839125-c9f6-493f-9156-f70a677d1793] method=GET path=/packs/css/flavours/vanilla/common-787c38bd.chunk.css format=css controller=ApplicationController action=raise_not_found status=404 duration=180.54 view=12.64 db=75.40
- May 09 15:58:57 bundle[16448]: [500f4bf9-8fc4-4530-bbba-ab6b7c44fe41] method=GET path=/packs/js/flavours/vanilla/public-b6ec0d37c1699409c28d.chunk.js format=*/* controller=ApplicationController action=raise_not_found status=404 duration=210.29 view=14.81 db=87.38
- May 09 15:58:57 bundle[16448]: [d7fb3887-1f13-45f2-856a-239682f1b149] method=GET path=/packs/js/core/public-193462be725eba1091e7.chunk.js format=*/* controller=ApplicationController action=raise_not_found status=404 duration=371.91 view=77.53 db=72.36
- May 09 15:58:57 bundle[16448]: [34a1917d-a8da-40a7-9b7d-b61fc9c1dc21] method=GET path=/packs/js/locales-1510f20a7dd64aa42f3f.js format=*/* controller=ApplicationController action=raise_not_found status=404 duration=388.34 view=89.65 db=61.76
- May 09 15:58:57 bundle[16448]: [63a27d6c-cc3f-48bc-ada8-1422883bad4c] method=GET path=/packs/media/images/preview-5df98290371ead9a70bc3cd4733bbfa7.jpg format=jpeg controller=ApplicationController action=raise_not_found status=404 duration=336.89 view=89.51 db=36.94
- May 09 15:58:57 bundle[16448]: [625ac9a4-6eb7-48e7-b764-c64717f3d8fe] method=GET path=/packs/js/flavours/vanilla/common-f01a3eb4e74696647bdc.chunk.js format=*/* controller=ApplicationController action=raise_not_found status=404 duration=375.55 view=108.94 db=54.84
- May 09 15:58:57 bundle[16448]: [5c44b527-37ab-4ea0-af39-b9756bbcf415] method=GET path=/packs/js/locales/vanilla/en-4f1f5ca51e388c118308.chunk.js format=*/* controller=ApplicationController action=raise_not_found status=404 duration=12.07 view=1.91 db=1.83
- May 09 15:58:57 bundle[16448]: [a00ca709-cd98-4b0f-8894-02d0c84a49af] method=GET path=/packs/js/core/common-80d3b22e5f9efb52faab.chunk.js format=*/* controller=ApplicationController action=raise_not_found status=404 duration=11.85 view=1.90 db=1.89
- May 09 15:58:57 bundle[16448]: [8f67fa57-580f-49f1-9da0-ed54bc531198] method=GET path=/packs/js/core/public-193462be725eba1091e7.chunk.js format=*/* controller=ApplicationController action=raise_not_found status=404 duration=17.50 view=2.07 db=4.70
- May 09 15:58:57 bundle[16448]: [401b798f-edbf-4f9b-ae71-25d300a66b67] method=GET path=/packs/css/core/common-fccd12a2.chunk.css format=css controller=ApplicationController action=raise_not_found status=404 duration=26.50 view=2.69 db=9.11
- May 09 15:58:57 bundle[16448]: [bd3388fa-ad8d-4f0c-95eb-2e54e020c215] method=GET path=/packs/js/flavours/vanilla/common-f01a3eb4e74696647bdc.chunk.js format=*/* controller=ApplicationController action=raise_not_found status=404 duration=11.70 view=1.90 db=1.77
- May 09 15:58:58 bundle[16448]: [596b521a-ddb8-40c1-85fe-b0c051e907bd] method=GET path=/packs/css/flavours/vanilla/common-787c38bd.chunk.css format=css controller=ApplicationController action=raise_not_found status=404 duration=13.61 view=2.41 db=1.77
- May 09 15:58:58 bundle[16448]: [681ca07c-56f7-4c06-b999-19afd07b9fa7] method=GET path=/packs/js/flavours/vanilla/public-b6ec0d37c1699409c28d.chunk.js format=*/* controller=ApplicationController action=raise_not_found status=404 duration=15.27 view=3.60 db=2.01
- May 09 15:58:58 bundle[16448]: [e5a54f1b-a2d5-4af3-940f-dd233e5c90ef] method=GET path=/packs/media/images/preview-5df98290371ead9a70bc3cd4733bbfa7.jpg format=jpeg controller=ApplicationController action=raise_not_found status=404 duration=13.90 view=2.23 db=2.20
Restoring version 2022.02.26~ynh1, web UI appearance is still functional.
I thought perhaps error while compiling assets, so I have tried :
RAILS_ENV=production bundle exec rake tmp:cache:clear
RAILS_ENV=production bundle exec rails assets:precompile
but still the same. I'm not sure where else to look to find problem.
Context
Hardware: VPS
Yunohost version: 4.3.6.3
Glitch-soc version: 2022.02.26~ynh1 update through CLI
Browser: Firefox
Hi ~ Can you try to upgrade to the last version and try again ?
Hi there! I apologise for the extremely delayed response.
I think the problem here was my testing custom CSS to my instance. I need to remove the edits and precompile assets like the default install, and then everything works properly again. I haven't yet figured out how to keep the edited changes after updates, so this one was my mistake ^^;
Thank you for all your work~!