Closed sbaecher closed 2 years ago
Hi @LTT-Coding,
By the looks of the error, you've somehow gained some different PHP file dependencies.
Have you attempted to run some composer commands outside of composer install --no-dev
?
Good Morning @ssddanbrown,
i have done this 3 times according to the instructions, I have also compared the Composer.json with the one in Github, they are the same.
I thought so too.
@LTT-Coding
git status
from your bookstack install folder?not that I know of
git status says:
composer show
@LTT-Coding Thanks, looks like permissions are causing more changes than I expected in the git status output though.
Can you run git config core.fileMode false
from your bookstack directory then run & share the output of git status
again?
Yes, now its empty
`On branch release Your branch is up to date with 'origin/release'.
nothing to commit, working tree clean`
@LTT-Coding That looks fine then.
I'm wondering if somehow the PHP autoloading system is getting mixed with your pimcore setup.
/bookstack
).Hi,
What do you mean by the first point?
Pimcore is located under the path /var/www/local/
On the second point, what files do you need? Don't quite know which ones.
@LTT-Coding
@ssddanbrown
BookStack load on https://example.com/bookstack Pimcore load on https://example.com/
I have found the error, it is the opcache, I have deactivated it and now everything is fine.
Is there a way to separate both caches?
@LTT-Coding I think it's specifically the opcache.preload
setting. Opcache alone, without preloading, should be fine I think here.
I'm not sure how easy it is to have preloading for one site, and no preloading for another site when using apache. You might be able to set php_flag
apache options to control this but not sure how well that works with apache.
Alternatively, you could separate out the BookStack instance to a separate webserver and PHP setup then reverse proxy to that from the existing apache site. Or host BookStack on its own machine/environment on a subdomain for cleanest separation.
Ok, i try it. Thanks for your help @ssddanbrown! :D
Describe the Bug
Ich habe ein neuen Admin erstellt. Nachdem ich mich mit ihm anmelden wollte, bekam ich diesen Fehler.
Steps to Reproduce
Expected Behaviour
I was expecting to be able to log in with the new admin account.
Screenshots or Additional Context
Browser Details
All Browser
Exact BookStack Version
v22.04.2
PHP Version
8.1.5
Hosting Environment
Linux / Raspberry Pi OS