Comments (4)
As mentioned in #4682, BookStack does cache discovered details but only for 15 minutes.
First, it would be good to test/rule-out instance cache issues.
Can you try setting the cache to be database based.
This is done by setting CACHE_DRIVER=database
in your existing .env
file, or by setting CACHE_DRIVER=database
to the environment for your BookStack app container. Remember to re-create the container if altering container environment options.
from bookstack.
@ssddanbrown I have set the suggested environment variable:
user@SRV001:/opt/bookstack$ docker compose ps
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
bookstack_app lscr.io/linuxserver/bookstack:latest "/init" bookstack_app 7 hours ago Up 4 hours 80/tcp, 443/tcp
bookstack_db mariadb:11 "docker-entrypoint.sā¦" bookstack_db 7 hours ago Up 4 hours 3306/tcp
user@SRV001:/opt/bookstack$ docker exec bookstack_app printenv
PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=581ed5423b8b
APP_THEME=custom
OIDC_ISSUER_DISCOVER=true
CACHE_DRIVER=database
OIDC_NAME=ZITADEL
OIDC_DISPLAY_NAME_CLAIMS=name
MAIL_ENCRYPTION=tls
MAIL_PASSWORD=somepassword
PUID=1000
OIDC_GROUPS_CLAIM=custom:roles
DB_PASS=somepassword
OIDC_END_SESSION_ENDPOINT=false
MAIL_DRIVER=smtp
DB_USER=bookstack
OIDC_REMOVE_FROM_GROUPS=true
OIDC_CLIENT_ID=someid@wiki
DB_HOST=bookstack_db
APP_DEBUG=true
AUTH_AUTO_INITIATE=true
MAIL_HOST=smtp-relay.brevo.com
[email protected]
PGID=1000
APP_URL=https://wiki.some.domain
OIDC_CLIENT_SECRET=somesecret
DB_DATABASE=bookstack
AUTH_METHOD=oidc
OIDC_ADDITIONAL_SCOPES=urn:zitadel:iam:org:projects:roles
MAIL_FROM_NAME=Wiki
OIDC_USER_TO_GROUPS=true
OIDC_ISSUER=https://some-instance.zitadel.cloud
DB_PORT=3306
MAIL_PORT=587
[email protected]
PS1=$(whoami)@$(hostname):$(pwd)\$
HOME=/root
TERM=xterm
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0
S6_VERBOSITY=1
S6_STAGE2_HOOK=/init-hook
VIRTUAL_ENV=/lsiopy
LSIO_FIRST_PARTY=true
Unfortunately, the error pattern persists. Even recreating the container does not solve the problem. This means that signing in with OIDC is not possible at all.
from bookstack.
@baua1310 Does it start working again after removing the CACHE_DRIVER
option again, and a container recreate?
from bookstack.
@ssddanbrown Yes after removing CACHE_DRIVER
and recreating the container sign in with OIDC started working again.
from bookstack.
Related Issues (20)
- Clean old revisions HOT 4
- Authentication Fails logged to webGUI and/or PHP/HTTPD
- Updating "thumbnailPhoto" on LDAP/AD does not get reflected in Bookstack after login
- PDF Preview HOT 4
- test_frame_src_csp_header_set fails on customized ALLOWED_IFRAME_SOURCES
- Copy Permissions (to books) only adds permissions, does not remove them HOT 4
- Non PSR-4 compliant test class namespace
- User Avatar Caching HOT 1
- Import externally linked images to filesystem, on demand.
- Sorting pages HOT 7
- Active Directory logins receiving "another user exists with different credentials" HOT 3
- Add Elixir to list of supported languages in code blocks
- Bookstack ldap long login times HOT 10
- Partly missing coloring in code section
- Error saving draft HOT 6
- Saving a moderately big page performance problem HOT 2
- Expose the Ability To Set External Authentication IDs for OIDC Group Mappings via Config HOT 3
- The "more" button disappears when Bookstack is in smartphone mode HOT 1
- Multiple domains with unique colour scheme and logo for each HOT 2
- Add HCL to list of supported languages in code blocks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bookstack.