Having some troubles with subdirectory, CSS not loading.. #1467

Closed
opened 2026-02-05 00:59:45 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @Seterak on GitHub (Nov 28, 2019).

I installed bookstack on a clean Ubuntu 18.04.3 LTS using the installation script, since i'm planning on having wordpress on my site at the same time, i'm trying to move it to www.mydomain.com/wiki, but failing to do so.
I followed this guide: https://www.bookstackapp.com/docs/admin/subdirectory-setup/ and made the changes to 000-default.conf and the .env file but when i load my domain, CSS and JS are broken.

How do i fix this?

Originally created by @Seterak on GitHub (Nov 28, 2019). I installed bookstack on a clean Ubuntu 18.04.3 LTS using the installation script, since i'm planning on having wordpress on my site at the same time, i'm trying to move it to www.mydomain.com/wiki, but failing to do so. I followed this guide: https://www.bookstackapp.com/docs/admin/subdirectory-setup/ and made the changes to 000-default.conf and the .env file but when i load my domain, CSS and JS are broken. How do i fix this?
OVERLORD added the 🐕 Support label 2026-02-05 00:59:45 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Dec 7, 2019):

Hi @Seterak,
Did you follow the last step in that guide to set your APP_URL in the .env file?

If so, Please could you view the source of your BookStack home page (Right click > View Source) then search for the text /dist/styles.css?version= and let me know the numbers shown after the version in addition to the format of the URL shown (Does it include /wiki ?)

@ssddanbrown commented on GitHub (Dec 7, 2019): Hi @Seterak, Did you follow the last step in that guide to set your `APP_URL` in the `.env` file? If so, Please could you view the source of your BookStack home page (Right click > View Source) then search for the text `/dist/styles.css?version=` and let me know the numbers shown after the version in addition to the format of the URL shown (Does it include `/wiki` ?)
Author
Owner

@xliu78 commented on GitHub (Mar 5, 2020):

I have the same issue here. @ssddanbrown
the http://mydomain.com/bookstack/dist/styles.css?version= is v0.28.2

@xliu78 commented on GitHub (Mar 5, 2020): I have the same issue here. @ssddanbrown the `http://mydomain.com/bookstack/dist/styles.css?version= is v0.28.2`
Author
Owner

@ssddanbrown commented on GitHub (Mar 17, 2020):

Since the original creator of this issue has not responded in a while I'm going to close this off.

@XinLiu92 If you still have the issue please create a new GitHub issue here so you can detail out your own environment to help use assist you more effectively.

@ssddanbrown commented on GitHub (Mar 17, 2020): Since the original creator of this issue has not responded in a while I'm going to close this off. @XinLiu92 If you still have the issue please create a new GitHub issue here so you can detail out your own environment to help use assist you more effectively.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1467