# New instance. No CSS nor images

**URL:** <https://discuss.write.as/t/new-instance-no-css-nor-images/8468>\
**Category:** Installation\
**Tags:** troubleshooting, writefreely\
**Created:** [March 10, 2023, 11:57am UTC](https://discuss.write.as/t/new-instance-no-css-nor-images/8468 "2023-03-10T11:57:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aitor](https://discuss.write.as/user_avatar/discuss.write.as/aitor/32/2556_2.png) [@aitor](https://discuss.write.as/u/aitor)\
**Post date:** [March 10, 2023, 11:57am UTC](https://discuss.write.as/t/new-instance-no-css-nor-images/8468/1 "2023-03-10T11:57:22Z")

</div>

Hello. I’ve installed an instance of writefreely by following this tutorial, with no apparent errors during the process:

> **[Tutorial: creación de una instancia de Writefreely](https://oniros.eu/ferlagod/tutorial-creacion-de-una-instancia-de-writefreely)**
>
> En la entrada de hoy os voy a contar como montar una instancia de WriteFreely, y así podáis tener vuestro propio blog minimalista. Par...

The instance is accessible, but it seems as if it can’t read the css file and images. It can be viewed online here:

> **[writefreely](https://letras.telmo.club)**

The page header says:

`<link rel="stylesheet" type="text/css" href="/css/write.css">`

If I look on the server in the static folder, the file is there (see the screenshot).

What can be happening?

 ![Captura de pantalla 2023-03-10 a las 12.43.12](https://discuss.write.as/uploads/default/original/2X/a/a17bccd0bcb9df95937e49c6f3df91c3a2aa17af.png)

---

<div class="post-metadata">

**Author:** ![davepolaschek](https://discuss.write.as/letter_avatar_proxy/v4/letter/d/51bf81/32.png) [@davepolaschek](https://discuss.write.as/u/davepolaschek)\
**Post date:** [March 11, 2023, 1:01pm UTC](https://discuss.write.as/t/new-instance-no-css-nor-images/8468/2 "2023-03-11T13:01:46Z")

</div>

My first guess would be either the wrong permissions or the wrong owner/group on the css and img directories.

---

<div class="post-metadata">

**Author:** ![aitor](https://discuss.write.as/user_avatar/discuss.write.as/aitor/32/2556_2.png) [@aitor](https://discuss.write.as/u/aitor)\
**Post date:** [March 11, 2023, 5:56pm UTC](https://discuss.write.as/t/new-instance-no-css-nor-images/8468/3 "2023-03-11T17:56:25Z")

</div>

Ok, Thanks! Right now it has 664 for al files. Owner is writefreely and group www-data. Is it not right?

![Captura de pantalla 2023-03-11 a las 18.54.54](https://discuss.write.as/uploads/default/original/2X/3/304e146578452ec1261f235b820cfeb740ee6c34.png)

```auto
/srv/writefreely/letras.telmo.club/static/css# ll
total 96
drwxrwxr-x 3 writefreely www-data 4096 Nov 11 08:51 ./
drwxrwxr-x 7 writefreely www-data 4096 Nov 11 08:51 ../
-rw-rw-r-- 1 writefreely www-data 2079 Nov 11 08:51 fonts.css
-rw-rw-r-- 1 writefreely www-data 6 Nov 11 08:51 .gitignore
-rw-rw-r-- 1 writefreely www-data 709 Nov 11 08:51 icons.css
drwxrwxr-x 2 writefreely www-data 4096 Nov 11 08:51 lib/
-rw-rw-r-- 1 writefreely www-data 11892 Nov 11 08:51 prose.css
-rw-rw-r-- 1 writefreely www-data 57651 Nov 11 08:51 write.css
root@mastodon-ubuntu-2gb-fsn1-1:/srv/writefreely/letras.telmo.club/static/css#

```

---

<div class="post-metadata">

**Author:** ![aitor](https://discuss.write.as/user_avatar/discuss.write.as/aitor/32/2556_2.png) [@aitor](https://discuss.write.as/u/aitor)\
**Post date:** [March 12, 2023, 8:17am UTC](https://discuss.write.as/t/new-instance-no-css-nor-images/8468/4 "2023-03-12T08:17:04Z")

</div>

I found the error in the tutorial (see link in the first post):

The Nginx service has a line with two errors:

```auto
[Unit]
Description=WriteFreely Instance
After=syslog.target network.target mysql.service

[Service]
Type=simple 
StandardOutput=syslog 
StandardError=syslog 
User=writefreely
Group=writefreely WorkingDirectory=/srv/writefreely/dominio.com
ExecStart=/srv/writefreely/dominio.com/writefreely

Restart=always  

[Install] 
WantedBy=multi-user.target

```

The group should be `www-data` and WorkingDirectory should be in the next line:

```auto
Group=www-data
WorkingDirectory=/srv/writefreely/dominio.com

```

I have notified the author to fix it.

---

<div class="post-metadata">

**Author:** ![davepolaschek](https://discuss.write.as/letter_avatar_proxy/v4/letter/d/51bf81/32.png) [@davepolaschek](https://discuss.write.as/u/davepolaschek)\
**Post date:** [March 12, 2023, 12:47pm UTC](https://discuss.write.as/t/new-instance-no-css-nor-images/8468/5 "2023-03-12T12:47:07Z")

</div>

Glad you found it!
