Appearance
Troubleshooting
Keep this page handy when deployment, authentication, or UI behaviors need quick fixes.
Authentication & sessions
- OIDC redirect errors: Make sure your identity provider uses
${PUBLIC_URL}/callback(orOIDC_CALLBACK_URL) as the redirect URI. - Session resets after restart: Set
SESSION_SECRETso the app doesn’t regenerate a new secret each start. - Users not admin: Confirm that the user’s
groups,roles, orentitlementsinclude a value listed inOIDC_ADMIN_GROUPS(case-insensitive). - Cookies marked insecure behind HTTPS: Ensure
PUBLIC_URLuseshttpsand your proxy forwardsX-Forwarded-ProtoandHost.
Access & permissions
- Path marked read-only or hidden: Check Settings → Access Control for matching rules;
hiddenandrorules block writes even if user has permission. - Missing volume entries: Confirm your
docker-composemounts include/mnt/Labelentries and the container has read access. - Path not found after remounting: Restart the container whenever you change
docker-compose.ymlmounts so the app rescans volumes.
Search & thumbnails
- Slow or missing search results: Install or enable ripgrep. The official image bundles
rg; custom builds need either the tool or fallback search (which may skip large files controlled bySEARCH_MAX_FILESIZE). - Thumbnails not generating: Verify FFmpeg/ffprobe are available (paths override via
FFMPEG_PATH/FFPROBE_PATH) and that/cacheis writable. - Cache rebuild: Clearing
/cacheremoves thumbnails/indexes but keeps user data. The app regenerates thumbnails when you revisit folders.
Reverse proxy issues
- CORS errors: Set
PUBLIC_URL,CORS_ORIGINS, orALLOWED_ORIGINSto include the domain you access from. - Websocket or upload failures: Ensure the proxy forwards WebSocket upgrades and
X-Forwarded-*headers. - Trust proxy misconfiguration: Set
TRUST_PROXYtoloopback,uniquelocal, a number of hops, or explicit CIDRs depending on your topology.
Updates & persistence
- Settings lost after update: Mount
/configpersistently; it containsapp.db,app-config.json, and extensions. Back it up before upgrading. /cachefilling disk:/cacheholds thumbnails and indexes; delete it if you need to reclaim space (the app rebuilds contents as needed).
ONLYOFFICE token errors
- “Document security token is not correctly configured” typically means the Document Server and nextExplorer share mismatched
ONLYOFFICE_SECRET. Double-check the secret stored in/etc/onlyoffice/documentserver/local.jsonand update both sides to match.
