mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-18 19:06:51 +03:00
404 on settings page #2966
Closed
opened 2026-02-05 05:52:56 +03:00 by OVERLORD
·
28 comments
No Branch/Tag Specified
development
release
v25-12
l10n_development
llm_only
vectors
v25-11
docker_env
drawio_rendering
user_permissions
ldap_host_failover
svg_image
prosemirror
captcha_example
fix/video-export
v25.12.5
v25.12.4
v25.12.3
v25.12.2
v25.12.1
v25.12
v25.11.6
v25.11.5
v25.11.4
v24.11.4
v25.11.3
v25.11.2
v25.11.1
v25.11
v25.07.3
v25.07.2
v25.07.1
v25.07
v25.05.2
v25.05.1
v25.05
v25.02.5
v25.02.4
v25.02.3
v25.02.2
v25.02.1
v25.02
v24.12.1
v24.12
v24.10.3
v24.10.2
v24.10.1
v24.10
v24.05.4
v24.05.3
v24.05.2
v24.05.1
v24.05
v24.02.3
v24.02.2
v24.02.1
v24.02
v23.12.3
v23.12.2
v23.12.1
v23.12
v23.10.4
v23.10.3
v23.10.2
v23.10.1
v23.10
v23.08.3
v23.08.2
v23.08.1
v23.08
v23.06.2
v23.06.1
v23.06
v23.05.2
v23.05.1
v23.05
v23.02.3
v23.02.2
v23.02.1
v23.02
v23.01.1
v23.01
v22.11.1
v22.11
v22.10.2
v22.10.1
v22.10
v22.09.1
v22.09
v22.07.3
v22.07.2
v22.07.1
v22.07
v22.06.2
v22.06.1
v22.06
v22.04.2
v22.04.1
v22.04
v22.03.1
v22.03
v22.02.3
v22.02.2
v22.02.1
v22.02
v21.12.5
v21.12.4
v21.12.3
v21.12.2
v21.12.1
v21.12
v21.11.3
v21.11.2
v21.11.1
v21.11
v21.10.3
v21.10.2
v21.10.1
v21.10
v21.08.6
v21.08.5
v21.08.4
v21.08.3
v21.08.2
v21.08.1
v21.08
v21.05.4
v21.05.3
v21.05.2
v21.05.1
v21.05
v21.04.6
v21.04.5
v21.04.4
v21.04.3
v21.04.2
v21.04.1
v21.04
v0.31.8
v0.31.7
v0.31.6
v0.31.5
v0.31.4
v0.31.3
v0.31.2
v0.31.1
v0.31.0
v0.30.7
v0.30.6
v0.30.5
v0.30.4
v0.30.3
v0.30.2
v0.30.1
v0.30.0
v0.29.3
v0.29.2
v0.29.1
v0.29.0
v0.28.3
v0.28.2
v0.28.1
v0.28.0
v0.27.5
v0.27.4
v0.27.3
v0.27.2
v0.27.1
v0.27
v0.26.4
v0.26.3
v0.26.2
v0.26.1
v0.26.0
v0.25.5
v0.25.4
v0.25.3
v0.25.2
v0.25.1
v0.25.0
v0.24.3
v0.24.2
v0.24.1
v0.24.0
v0.23.2
v0.23.1
v0.23.0
v0.22.0
v0.21.0
v0.20.3
v0.20.2
v0.20.1
v0.20.0
v0.19.0
v0.18.5
v0.18.4
v0.18.3
v0.18.2
v0.18.1
v0.18.0
v0.17.4
v0.17.3
v0.17.2
v0.17.1
v0.17.0
v0.16.3
v0.16.2
v0.16.1
v0.16.0
v0.15.3
v0.15.2
v0.15.1
v0.15.0
v0.14.3
v0.14.2
v0.14.1
v0.14.0
v0.13.1
v0.13.0
v0.12.2
v0.12.1
v0.12.0
v0.11.2
v0.11.1
v0.11.0
v0.10.0
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.2
v0.8.1
v0.8.0
v0.7.6
v0.7.5
v0.7.4
v0.7.3
0.7.2
v.0.7.1
v0.7.0
v0.6.3
v0.6.2
v0.6.1
v0.6.0
v0.5.0
Labels
Clear labels
🎨 Design
📖 Docs Update
🐛 Bug
🐛 Bug
:cat2:🐈 Possible duplicate
💿 Database
☕ Open to discussion
💻 Front-End
🐕 Support
🚪 Authentication
🌍 Translations
🔌 API Task
🏭 Back-End
⛲ Upstream
🔨 Feature Request
🛠️ Enhancement
🛠️ Enhancement
🛠️ Enhancement
❤️ Happy feedback
🔒 Security
🔍 Pending Validation
💆 UX
📝 WYSIWYG Editor
🌔 Out of scope
🔩 API Request
:octocat: Admin/Meta
🖌️ View Customization
❓ Question
🚀 Priority
🛡️ Blocked
🚚 Export System
♿ A11y
🔧 Maintenance
> Markdown Editor
pull-request
Mirrored from GitHub Pull Request
No Label
🐛 Bug
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: starred/BookStack#2966
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Stephan9283 on GitHub (Aug 16, 2022).
Describe the Bug
Hello,
actually I have version v22.02.3 installed and want to upgrade to the new version. Everything is fine but the settings page comes with the 404 error message. In the url I see that it want to open /settings/features and in the old version it will only open /settings
thanks and regards
Stephan
Steps to Reproduce
Expected Behaviour
I wanted to see the settings page.
Screenshots or Additional Context
Browser Details
Firefox 102.1.0esr (64-Bit)
Exact BookStack Version
v22.02.3
PHP Version
7.4.28
Hosting Environment
Debian GNU/Linux 11 (bullseye)
@ssddanbrown commented on GitHub (Aug 16, 2022):
Hi @Stephan9283,
I'm confused about your scenario, are you attempting to upgrade here?
The
/settings/featuresURL is only part of BookStack v22.03 or greater, you should not have that URL, or expect that to work, on an earlier version.@Stephan9283 commented on GitHub (Aug 16, 2022):
Hello @ssddanbrown ,
thanks for your help. I'm currently on version 22.02.3 and want to update the latest 22.07.3 following the update instructions on github. But after the update the settings/features is not available and I get the 404 error.
@ssddanbrown commented on GitHub (Aug 16, 2022):
@Stephan9283 Okay, do you get any errors when running any of the three main update commands?
@Stephan9283 commented on GitHub (Aug 16, 2022):
No errors. The other setting pages like maintenance, audit or users work fine.
@ssddanbrown commented on GitHub (Aug 16, 2022):
@Stephan9283 Within your bookstack directory can you provide the output of running the following command?:
@Stephan9283 commented on GitHub (Aug 16, 2022):
Auf Branch release
Ihr Branch ist auf demselben Stand wie 'origin/release'.
Änderungen, die nicht zum Commit vorgemerkt sind:
(benutzen Sie "git add/rm ...", um die Änderungen zum Commit vorzumerken)
(benutzen Sie "git restore ...", um die Änderungen im Arbeitsverzeichnis zu verwerfen)
gelöscht: .env.example
geändert: resources/views/settings/audit.blade.php
geändert: resources/views/settings/customization.blade.php
geändert: resources/views/settings/features.blade.php
geändert: resources/views/settings/layout.blade.php
geändert: resources/views/settings/maintenance.blade.php
geändert: resources/views/settings/registration.blade.php
geändert: storage/clockwork/.gitignore
Unversionierte Dateien:
(benutzen Sie "git add ...", um die Änderungen zum Commit vorzumerken)
composer.phar
keine Änderungen zum Commit vorgemerkt (benutzen Sie "git add" und/oder "git commit -a")
@ssddanbrown commented on GitHub (Aug 16, 2022):
@Stephan9283 Okay, there appear to be some changed files there which could conflict on update.
git pull origin releaseupdate step?@Stephan9283 commented on GitHub (Aug 16, 2022):
git_pull_origin_release.txt
No I didn't change any core files.
@ssddanbrown commented on GitHub (Aug 16, 2022):
@Stephan9283 Thanks for confirming.
The output provided makes it seem like that
git pull origin releasehad not yet been ran, did you definitely run this command when attempting update before?What occurs now if you proceed with the next two update steps?
@Stephan9283 commented on GitHub (Aug 16, 2022):
that was before with the old version. Now the result ist the following:
Von https://github.com/BookStackApp/BookStack
Bereits aktuell.
@ssddanbrown commented on GitHub (Aug 16, 2022):
@Stephan9283 Okay, can you now run the above two update steps and provide output of those?
@Stephan9283 commented on GitHub (Aug 16, 2022):
composer install --no-dev
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]?
php artisan migrate
Do you really wish to run this command? (yes/no) [no]:
Nothing to migrate.
@ssddanbrown commented on GitHub (Aug 16, 2022):
@Stephan9283 After those commands, does it still fail to load the settings page?
@Stephan9283 commented on GitHub (Aug 16, 2022):
Unfortunately yes
@ssddanbrown commented on GitHub (Aug 16, 2022):
@Stephan9283 Alright, can you re-confirm the output of running:
git statusin the current state of the application.@Stephan9283 commented on GitHub (Aug 16, 2022):
still the same output:
Auf Branch release
Ihr Branch ist auf demselben Stand wie 'origin/release'.
Änderungen, die nicht zum Commit vorgemerkt sind:
(benutzen Sie "git add/rm ...", um die Änderungen zum Commit vorzumerken)
(benutzen Sie "git restore ...", um die Änderungen im Arbeitsverzeichnis zu verwerfen)
gelöscht: .env.example
geändert: resources/views/settings/audit.blade.php
geändert: resources/views/settings/customization.blade.php
geändert: resources/views/settings/features.blade.php
geändert: resources/views/settings/layout.blade.php
geändert: resources/views/settings/maintenance.blade.php
geändert: resources/views/settings/registration.blade.php
geändert: storage/clockwork/.gitignore
Unversionierte Dateien:
(benutzen Sie "git add ...", um die Änderungen zum Commit vorzumerken)
composer.phar
keine Änderungen zum Commit vorgemerkt (benutzen Sie "git add" und/oder "git commit -a")
But the files are in the correct folder (resources/views/settings/
), I think:
-rwxr-xr-x 1 www-data www-data 5380 16. Aug 12:30 audit.blade.php
-rwxr-xr-x 1 www-data www-data 7789 16. Aug 12:30 customization.blade.php
-rwxr-xr-x 1 www-data www-data 2732 16. Aug 12:30 features.blade.php
-rwxr-xr-x 1 www-data www-data 1532 16. Aug 12:30 layout.blade.php
-rwxr-xr-x 1 www-data www-data 3544 16. Aug 12:30 maintenance.blade.php
drwxr-xr-x 2 www-data www-data 4096 16. Aug 12:30 parts
drwxr-xr-x 3 www-data www-data 4096 16. Aug 12:30 recycle-bin
-rwxr-xr-x 1 www-data www-data 3634 16. Aug 12:30 registration.blade.php
drwxr-xr-x 3 www-data www-data 4096 16. Aug 12:30 roles
drwxr-xr-x 3 www-data www-data 4096 16. Aug 12:30 webhooks
@ssddanbrown commented on GitHub (Aug 16, 2022):
@Stephan9283 Please can you provide the output of running the following:
@Stephan9283 commented on GitHub (Aug 16, 2022):
diff --git a/resources/views/settings/features.blade.php b/resources/views/settings/features.blade.php
old mode 100644
new mode 100755
@ssddanbrown commented on GitHub (Aug 16, 2022):
@Stephan9283 Alright, Please run the following to ignore permission changes:
It's a bit suspicious that only this directory have had permission changes, and that this is the view that fails to load.
Could you confirm the full output of running:
@Stephan9283 commented on GitHub (Aug 16, 2022):
I run the git command and had no output.
Here ist ls output:
insgesamt 56K
drwxr-xr-x 6 www-data www-data 4,0K 16. Aug 12:30 .
drwxr-xr-x 25 www-data www-data 4,0K 16. Aug 12:30 ..
-rwxr-xr-x 1 www-data www-data 5,3K 16. Aug 12:30 audit.blade.php
-rwxr-xr-x 1 www-data www-data 7,7K 16. Aug 12:30 customization.blade.php
-rwxr-xr-x 1 www-data www-data 2,7K 16. Aug 12:30 features.blade.php
-rwxr-xr-x 1 www-data www-data 1,5K 16. Aug 12:30 layout.blade.php
-rwxr-xr-x 1 www-data www-data 3,5K 16. Aug 12:30 maintenance.blade.php
drwxr-xr-x 2 www-data www-data 4,0K 16. Aug 12:30 parts
drwxr-xr-x 3 www-data www-data 4,0K 16. Aug 12:30 recycle-bin
-rwxr-xr-x 1 www-data www-data 3,6K 16. Aug 12:30 registration.blade.php
drwxr-xr-x 3 www-data www-data 4,0K 16. Aug 12:30 roles
drwxr-xr-x 3 www-data www-data 4,0K 16. Aug 12:30 webhooks
@ssddanbrown commented on GitHub (Aug 16, 2022):
Nothing unexpected there.
If you navigate directly to the
/settings/auditendpoint, does that load okay?@Stephan9283 commented on GitHub (Aug 16, 2022):
yes. I see the audit protocol
@ssddanbrown commented on GitHub (Aug 16, 2022):
Okay, what about the
/settings/registrationendpoint? Does that load okay?@Stephan9283 commented on GitHub (Aug 16, 2022):
that also fails with a 404
@ssddanbrown commented on GitHub (Aug 16, 2022):
@Stephan9283 Okay,
ls -alh bootstrap/cachephp artisan, other than the migrate command?@Stephan9283 commented on GitHub (Aug 17, 2022):
yes I ran the clear caches commands as well
php artisan cache:clear
php artisan config:clear
php artisan view:clear
ouput of ls -alh bootstrap/cache
insgesamt 348K
drwxr-xr-x 2 www-data www-data 4,0K 17. Aug 08:59 .
drwxr-xr-x 3 www-data www-data 4,0K 31. Jan 2022 ..
-rwxr-xr-x 1 www-data www-data 14 31. Jan 2022 .gitignore
-rwxr-xr-x 1 root root 1,6K 17. Aug 08:59 packages.php
-rw-r--r-- 1 root root 311K 31. Jan 2022 routes-v7.php
-rwxr-xr-x 1 root root 17K 17. Aug 08:59 services.php
@ssddanbrown commented on GitHub (Aug 17, 2022):
@Stephan9283 Alright, looks like some optimizations/cache commands had been ran earlier this year to cache the routes which could cause this issue.
Please ensure any files within the
bootstrap/cachepath, that have a.phpextension, are deleted.@Stephan9283 commented on GitHub (Aug 17, 2022):
Great! That solved my problem. Many thanks