Not Found error on /login URL
Attempted Debugging
- [X] I have read the debugging page
Searched GitHub Issues
- [X] I have searched GitHub for the issue.
Describe the Scenario
Hello When I go to the BookStack URL, I have a not Found error when redirects to /login page. I made many searches, no actions made solve the problem. I tried some php artisan commands to clear cache and regenerate permissions
php artisan config:clear php artisan cache:clear (don't work : Failed to clear cache. Make sure you have the appropriate permissions. - an issue is already open for that) php artisan view:clear php artisan config:cache php artisan bookstack:regenerate-comment-content (don't work : Command "bookstack:regenerate-comment-content" is not defined. Did you mean one of these?) php artisan bookstack:regenerate-search php artisan bookstack:regenerate-permissions php artisan cache:clear php artisan config:cache php artisan view:cache
I tried too to replace none by All on the AllowOverride directive.
Exact BookStack Version
v24.05
Log Content
laravel.log file : [2024-05-12 16:58:11] production.ERROR: Command "bookstack:regenerate-comment-content" is not defined.
Did you mean one of these? bookstack:cleanup-images bookstack:clear-activity bookstack:clear-revisions bookstack:clear-views bookstack:copy-shelf-permissions bookstack:create-admin bookstack:db-utf8mb4 bookstack:delete-users bookstack:refresh-avatar bookstack:regenerate-permissions bookstack:regenerate-references bookstack:regenerate-search bookstack:reset-mfa bookstack:update-url {"exception":"[object] (Symfony\Component\Console\Exception\CommandNotFoundException(code: 0): Command "bookstack:regenerate-comment-content" is not defined.
Did you mean one of these? bookstack:cleanup-images bookstack:clear-activity bookstack:clear-revisions bookstack:clear-views bookstack:copy-shelf-permissions bookstack:create-admin bookstack:db-utf8mb4 bookstack:delete-users bookstack:refresh-avatar bookstack:regenerate-permissions bookstack:regenerate-references bookstack:regenerate-search bookstack:reset-mfa bookstack:update-url at /var/www/html/BookStack/vendor/symfony/console/Application.php:737) [stacktrace] #0 /var/www/html/BookStack/vendor/symfony/console/Application.php(266): Symfony\Component\Console\Application->find() #1 /var/www/html/BookStack/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun() #2 /var/www/html/BookStack/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(201): Symfony\Component\Console\Application->run() #3 /var/www/html/BookStack/artisan(35): Illuminate\Foundation\Console\Kernel->handle() #4 {main} "}
Apache access.log file : **192.168.0.131 - - [12/May/2024:19:53:26 +0200] "GET /login HTTP/1.1" 404 498 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0" 192.168.0.131 - - [12/May/2024:21:50:52 +0200] "GET /login HTTP/1.1" 404 498 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0" 192.168.0.131 - - [12/May/2024:21:50:53 +0200] "GET /login HTTP/1.1" 404 497 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0" 192.168.0.131 - - [12/May/2024:21:53:14 +0200] "GET / HTTP/1.1" 302 1926 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0" 192.168.0.131 - - [12/May/2024:21:53:14 +0200] "GET /login HTTP/1.1" 404 497 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0" 192.168.0.131 - - [12/May/2024:21:53:16 +0200] "GET /login HTTP/1.1" 404 497 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0" **
Hosting Environment
Debian 12.5 Apache/2.4.59 PHP 8.2.18