Error redirecting url creating new page #3515

Closed
opened 2026-02-05 06:56:59 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @jmleandrocr on GitHub (Feb 18, 2023).

Describe the Bug

I´m using Bookstack last version with docker

Everything is running ok, but when you create a new page , this happen

GET http://100.30.4.00:6875/%20http://100.30.4.00:6875/books/notas-del-curso 404 (Not Found)

Does anyone know about this error?

Steps to Reproduce

Just create a new page or charter

Expected Behaviour

After click on create new page, the site has to go to the draft.

Screenshots or Additional Context

No response

Browser Details

Chrome

Exact BookStack Version

BookStack v23.01.1

PHP Version

No response

Hosting Environment

Docker
lscr.io/linuxserver/bookstack:latest

Originally created by @jmleandrocr on GitHub (Feb 18, 2023). ### Describe the Bug I´m using Bookstack last version with docker Everything is running ok, but when you create a new page , this happen GET http://100.30.4.00:6875/%20http://100.30.4.00:6875/books/notas-del-curso 404 (Not Found) Does anyone know about this error? ### Steps to Reproduce Just create a new page or charter ### Expected Behaviour After click on create new page, the site has to go to the draft. ### Screenshots or Additional Context _No response_ ### Browser Details Chrome ### Exact BookStack Version BookStack v23.01.1 ### PHP Version _No response_ ### Hosting Environment Docker lscr.io/linuxserver/bookstack:latest
OVERLORD added the 🐛 Bug label 2026-02-05 06:56:59 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Feb 18, 2023):

Have you set the APP_URL environment variable? The value should start with http. So, for example, APP_URL=http://100.30.4.00:6875 (Assuming that "http://100.30.4.00:6875" is the base URL used in the browser to access your instance).

@ssddanbrown commented on GitHub (Feb 18, 2023): Have you set the `APP_URL` environment variable? The value should start with `http`. So, for example, `APP_URL=http://100.30.4.00:6875` (Assuming that "http://100.30.4.00:6875" is the base URL used in the browser to access your instance).
Author
Owner

@jmleandrocr commented on GitHub (Feb 18, 2023):

Yes , it’s already set in the docker-compose.yml file .

The site works , you can login , search , manage , the only thing is this error when you create a new page .

Thanks

@jmleandrocr commented on GitHub (Feb 18, 2023): Yes , it’s already set in the docker-compose.yml file . The site works , you can login , search , manage , the only thing is this error when you create a new page . Thanks
Author
Owner

@ssddanbrown commented on GitHub (Feb 18, 2023):

@mleandroj18 Okay, please can you share a screenshot all the environment options set in the docker-compose.yml file for the BookStack container? You can hide or remove any passwords/secrets first.

@ssddanbrown commented on GitHub (Feb 18, 2023): @mleandroj18 Okay, please can you share a screenshot all the environment options set in the `docker-compose.yml` file for the BookStack container? You can hide or remove any passwords/secrets first.
Author
Owner

@jmleandrocr commented on GitHub (Feb 18, 2023):

Here it is

image

Version of the docker

image

And the host of the docker engine

image

Thanks for your help.

@jmleandrocr commented on GitHub (Feb 18, 2023): Here it is ![image](https://user-images.githubusercontent.com/23279507/219878630-b97224b9-371c-4f49-8209-aa602f574b55.png) Version of the docker ![image](https://user-images.githubusercontent.com/23279507/219878659-eb9b7a5f-834b-4988-8391-daf3619cd328.png) And the host of the docker engine ![image](https://user-images.githubusercontent.com/23279507/219878675-dcef9125-7432-4ec7-bd98-57aa5f527f09.png) Thanks for your help.
Author
Owner

@ssddanbrown commented on GitHub (Feb 18, 2023):

@mleandroj18 The APP_URL has a leading space and a trailing slash. Please remove both of these then re-up your compose setup (Just restarting won't let the changes take effect).

@ssddanbrown commented on GitHub (Feb 18, 2023): @mleandroj18 The `APP_URL` has a leading space and a trailing slash. Please remove both of these then re-up your compose setup (Just restarting won't let the changes take effect).
Author
Owner

@jmleandrocr commented on GitHub (Feb 20, 2023):

Hi ssddanbrown

It worked.

Thanks.

@jmleandrocr commented on GitHub (Feb 20, 2023): Hi [ssddanbrown](https://github.com/ssddanbrown) It worked. Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3515