# Discourse partially loaded and 404 errors from some css, js, svg files

**URL:** <https://meta.discourse.org/t/discourse-partially-loaded-and-404-errors-from-some-css-js-svg-files/146789>\
**Category:** Self-hosting\
**Created:** [April 4, 2020, 6:40am UTC](https://meta.discourse.org/t/discourse-partially-loaded-and-404-errors-from-some-css-js-svg-files/146789 "2020-04-04T06:40:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![honggian](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/honggian/32/237166_2.png) [@honggian](https://meta.discourse.org/u/honggian)\
**Post date:** [April 4, 2020, 6:40am UTC](https://meta.discourse.org/t/discourse-partially-loaded-and-404-errors-from-some-css-js-svg-files/146789/1 "2020-04-04T06:40:16Z")

</div>

Hello Discourse forum members.

I install the Discourse successfully before using this [link](https://blog.khophi.co/install-run-discourse-behind-nginx-right-way-first-time/), but in this time, I got the following error, so I need your help for installation.

When I solve this problem, I would like to share how can I fix it.

From Web browser, I got the following error when I install Discourse.

 ![Discourse Setup 2020-04-04 15-41-25](https://global.discourse-cdn.com/meta/original/3X/1/e/1edc068b04516c64faa1dd81d52baca3eebf1d84.png)

> [Error] Failed to load resource: the server responded with a status of 404 () (wizard\_c4aee3fa9261fde8baf9c596832d10e16a40c298.css, line 0)  
> [Error] Failed to load resource: the server responded with a status of 404 () (wizard-vendor-e639f7bedb553c62a51539714bacf10a7bb9c2a68ee57d9d9e9da130ede31d8b.js, line 0)  
> [Error] Failed to load resource: the server responded with a status of 404 () (tada.svg, line 0)  
> [Error] Failed to load resource: the server responded with a status of 404 () (ember\_jquery-57d09ec67e9e407d9b0d42aa1fefd1a470c45310d953b07793a3ca8adc6ec599.js, line 0)  
> [Error] Refused to execute [https://forum.sangean.co.kr/assets/ember\_jquery-57d09ec67e9e407d9b0d42aa1fefd1a470c45310d953b07793a3ca8adc6ec599.js](https://forum.sangean.co.kr/assets/ember_jquery-57d09ec67e9e407d9b0d42aa1fefd1a470c45310d953b07793a3ca8adc6ec599.js) as script because “X-Content-Type: nosniff” was given and its Content-Type is not a script MIME type.  
> [Error] Refused to execute [https://forum.sangean.co.kr/assets/wizard-vendor-e639f7bedb553c62a51539714bacf10a7bb9c2a68ee57d9d9e9da130ede31d8b.js](https://forum.sangean.co.kr/assets/wizard-vendor-e639f7bedb553c62a51539714bacf10a7bb9c2a68ee57d9d9e9da130ede31d8b.js) as script because “X-Content-Type: nosniff” was given and its Content-Type is not a script MIME type.  
> [Error] Failed to load resource: the server responded with a status of 404 () (tada.svg, line 0)

My environment - Ubuntu 18.94, Nginx Reverse proxy.

I install all the process using root, so Here is “ls -al” information of /var/discourse/shared/standalone

I guess it is permission related problem, but I am not sure.

> drwxr-xr-x 11 root root 4096 Apr 4 05:50 .  
> drwxr-xr-x 3 root root 4096 Apr 4 04:45 ..  
> drwxr-xr-x 2 1000 www-data 4096 Apr 4 04:45 backups  
> drwxr-xr-x 4 root root 4096 Apr 4 04:45 log  
> drwxr-xr-x 2 uuidd uuidd 4096 Apr 4 04:45 postgres\_backup  
> drwx------ 19 uuidd uuidd 4096 Apr 4 05:50 postgres\_data  
> drwxrwxr-x 3 uuidd uuidd 4096 Apr 4 05:50 postgres\_run  
> drwxr-xr-x 2 landscape ssh 4096 Apr 4 06:00 redis\_data  
> drwxr-xr-x 4 root root 4096 Apr 4 05:50 state  
> drwxr-xr-x 4 1000 www-data 4096 Apr 4 05:50 tmp  
> drwxr-xr-x 3 1000 www-data 4096 Apr 4 04:47 uploads

My /nginx/sites-available/forum.sangean.co.kr configuration

> server {  
> listen 80; listen [::]:80;  
> server\_name forum.sangean.co.kr;
> 
> ```
> return 301 https://$host$request_uri;
> 
> ```
> 
> }
> 
> server {  
> server\_name forum.sangean.co.kr www.forum.sangean.co.kr;
> 
> ```
> access_log /var/log/nginx/forum.sangean.co.kr.access.log ;
> error_log /var/log/nginx/forum.sangean.co.kr.error.log;
> 
> include common/locations-wo.conf;
> include /var/www/forum.sangean.co.kr/conf/nginx/*.conf;
> 
> location / {
> proxy_pass http://forum.sangean.co.kr:25654/;
> proxy_set_header Host $http_host;
> proxy_http_version 1.1;
> proxy_set_header X-Forwarded-Proto $scheme;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
> proxy_redirect http://forum.sangean.co.kr:25654/ https://forum.sangean.co.kr;
> }
> 
> ```
> 
> }

If you need included nginx conf files or Discourse configuration files, I can edit or reply for this post.

Thank you so much.

---

_[View the full topic](https://meta.discourse.org/t/discourse-partially-loaded-and-404-errors-from-some-css-js-svg-files/146789)._
