We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker
I am getting the error message 'Error: 403 Forbidden for path: /api/v1/user/updateUserSettings' when I click on the 'Sync Account <- Browser' button.
0.36.5
No response
https://stirling-pdf.mydomain.com/account
Copying original files without overwriting existing files cp: can't stat '/usr/share/tesseract-ocr/4.00/tessdata/*': No such file or directory Running Stirling PDF with DOCKER_ENABLE_SECURITY=true and VERSION_TAG=0.36.5 Trying to download from: https://github.com/Stirling-Tools/Stirling-PDF/releases/download/v0.36.5/Stirling-PDF-with-login.jar % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 143M 100 143M 0 0 28.6M 0 0:00:05 0:00:05 --:--:-- 33.4M Setting permissions and ownership for necessary directories... Picked up JAVA_TOOL_OPTIONS: -XX:MaxRAMPercentage=75 11:36:00.302 [main] WARN s.software.SPDF.SPdfApplication - External configuration file 'configs/settings.yml' does not exist. 11:36:00.309 [main] WARN s.software.SPDF.SPdfApplication - Custom configuration file 'configs/custom_settings.yml' does not exist. Powered by Spring Boot 3.4.0 11:36:02.676 [main] INFO s.software.SPDF.SPdfApplication - Starting SPdfApplication v0.36.5 using Java 21.0.5 with PID 11 (/app-security.jar started by stirlingpdfuser in /) 11:36:02.681 [main] INFO s.software.SPDF.SPdfApplication - The following 1 profile is active: "default" 11:36:43.708 [main] INFO s.software.SPDF.SPdfApplication - Running configs ApplicationProperties(legal=ApplicationProperties.Legal(termsAndConditions=https://www.stirlingpdf.com/terms-and-conditions, privacyPolicy=https://www.stirlingpdf.com/privacy-policy, accessibilityStatement=, cookiePolicy=, impressum=), security=ApplicationProperties.Security(enableLogin=true, csrfDisabled=false, initialLogin=ApplicationProperties.Security.InitialLogin(username=), oauth2=ApplicationProperties.Security.OAUTH2(enabled=true, issuer=https://auth.tinycloud.me, clientId=stirling-pdf, autoCreateUser=true, blockRegistration=false, useAsUsername=preferred_username, scopes=[openid, profile, email], provider=Authelia, client=ApplicationProperties.Security.OAUTH2.Client(google=Google [clientId=, clientSecret=NULL, scopes=[https://www.googleapis.com/auth/userinfo.email, https://www.googleapis.com/auth/userinfo.profile], useAsUsername=email], github=GitHub [clientId=, clientSecret=NULL, scopes=[read:user], useAsUsername=login], keycloak=Keycloak [issuer=, clientId=, clientSecret=NULL, scopes=[openid, profile, email], useAsUsername=preferred_username])), saml2=ApplicationProperties.Security.SAML2(enabled=false, autoCreateUser=true, blockRegistration=false, registrationId=stirling, idpSingleLogoutUrl=https://dev-XXXXXXXX.okta.com/app/dev-XXXXXXXX_stirlingpdf_1/externalKey/slo/saml, idpSingleLoginUrl=https://dev-XXXXXXXX.okta.com/app/dev-XXXXXXXX_stirlingpdf_1/externalKey/sso/saml, idpIssuer=http://www.okta.com/externalKey, idpCert=class path resource [okta.crt]), loginAttemptCount=5, loginResetTimeMinutes=120, loginMethod=oauth2, customGlobalAPIKey=null), system=ApplicationProperties.System(defaultLocale=en-US, googlevisibility=false, showUpdate=false, showUpdateOnlyAdmin=false, customHTMLFiles=false, tessdataDir=/usr/share/tessdata, enableAlphaFunctionality=false, enableAnalytics=undefined), ui=ApplicationProperties.Ui(appName=PDF Tools, homeDescription=Your locally hosted one-stop-shop for all your PDF needs., appNameNavbar=PDF Tools), endpoints=ApplicationProperties.Endpoints(toRemove=[], groupsToRemove=[]), metrics=ApplicationProperties.Metrics(enabled=true), automaticallyGenerated=ApplicationProperties.AutomaticallyGenerated(UUID=example, appVersion=0.35.0), enterpriseEdition=ApplicationProperties.EnterpriseEdition(enabled=false, maxUsers=0, customMetadata=ApplicationProperties.EnterpriseEdition.CustomMetadata(autoUpdateMetadata=false, author=username, creator=Stirling-PDF, producer=Stirling-PDF)), autoPipeline=ApplicationProperties.AutoPipeline(outputFolder=null), processExecutor=ApplicationProperties.ProcessExecutor(sessionLimit=ApplicationProperties.ProcessExecutor.SessionLimit(libreOfficeSessionLimit=1, pdfToHtmlSessionLimit=1, pythonOpenCvSessionLimit=8, weasyPrintSessionLimit=16, installAppSessionLimit=1, calibreSessionLimit=1, qpdfSessionLimit=4, tesseractSessionLimit=1), timeoutMinutes=ApplicationProperties.ProcessExecutor.TimeoutMinutes(libreOfficeTimeoutMinutes=30, pdfToHtmlTimeoutMinutes=20, pythonOpenCvTimeoutMinutes=30, weasyPrintTimeoutMinutes=30, installAppTimeoutMinutes=60, calibreTimeoutMinutes=30, tesseractTimeoutMinutes=30, qpdfTimeoutMinutes=30))) 11:36:45.272 [main] INFO s.s.S.config.EndpointConfiguration - Total disabled endpoints: 3. Disabled endpoints: book-to-pdf, pdf-to-book, pdf-to-pdfa 11:36:48.317 [main] INFO s.s.S.c.s.d.DatabaseBackupHelper - Database export completed: configs/db/backup/backup_202412221136.sql 11:36:48.319 [main] INFO s.s.S.c.s.InitialSecuritySetup - Default admin user created: admin 11:36:48.521 [main] INFO s.s.S.c.s.d.DatabaseBackupHelper - Database export completed: configs/db/backup/backup_202412221136.sql 11:36:48.673 [main] INFO s.s.S.c.s.InitialSecuritySetup - Internal API user created: STIRLING-PDF-BACKEND-API-USER 11:37:02.903 [main] INFO s.software.SPDF.SPdfApplication - Started SPdfApplication in 62.585 seconds (process running for 68.834) 11:37:02.917 [scheduling-1] WARN s.software.SPDF.utils.FileMonitor - not monitoring any directory, even the root directory itself: ./pipeline/watchedFolders 11:37:02.924 [scheduling-1] INFO s.software.SPDF.utils.FileMonitor - Registered directory: ./pipeline/watchedFolders 11:37:02.955 [main] INFO s.software.SPDF.SPdfApplication - Stirling-PDF Started. 11:37:02.956 [main] INFO s.software.SPDF.SPdfApplication - Navigate to http://localhost:8080 11:38:02.484 [qtp2074201534-70] INFO s.s.S.c.s.d.DatabaseBackupHelper - Database export completed: configs/db/backup/backup_202412221138.sql 11:40:14.354 [qtp2074201534-64] INFO o.s.api.AbstractOpenApiResource - Init duration for springdoc-openapi is: 3859 ms 11:49:55.289 [qtp2074201534-116] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver - Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' is not supported] 11:53:37.055 [qtp2074201534-88] ERROR s.s.S.c.s.CustomLogoutSuccessHandler - Logout from the provider is not supported? Report it at https://github.com/Stirling-Tools/Stirling-PDF/issues 11:53:37.066 [qtp2074201534-88] INFO s.s.S.c.s.CustomLogoutSuccessHandler - Redirecting to default logout URL: /login?logout=true 00:00:00.028 [scheduling-1] INFO s.s.S.c.s.d.DatabaseBackupHelper - Database export completed: configs/db/backup/backup_202412230000.sql
services: stirlingpdf: image: ${IMAGE_SG_STIRLINGPDF01} container_name: stirlingpdf hostname: stirlingpdf networks: - stirlingpdf ports: - '[REDACTED]' volumes: - /path/to/stirlingpdf/trainingData:/usr/share/tesseract-ocr/4.00/tessdata - /path/to/stirlingpdf/extraConfigs:/configs - /path/to/stirlingpdf/customFiles:/customFiles environment: PUID: 1000 PGID: 1000 SYSTEM_DEFAULTLOCALE: en-US UI_APPNAME: 'PDF Tools' # application's visible name UI_HOMEDESCRIPTION: 'Your locally hosted one-stop-shop for all your PDF needs.' # short description or tagline shown on the homepage UI_APPNAMENAVBAR: 'PDF Tools' # name displayed on the navigation bar SYSTEM_GOOGLEVISIBILITY: false DOCKER_ENABLE_SECURITY: true SECURITY_ENABLELOGIN: true SECURITY_LOGINMETHOD: oauth2 SECURITY_OAUTH2_ENABLED: true SECURITY_OAUTH2_AUTOCREATEUSER: true SECURITY_OAUTH2_ISSUER: "[REDACTED]" SECURITY_OAUTH2_CLIENTID: "stirling-pdf" SECURITY_OAUTH2_CLIENTSECRET: "[REDACTED]" SECURITY_OAUTH2_USEASUSERNAME: "preferred_username" SECURITY_OAUTH2_SCOPES: "openid,profile,email" SECURITY_OAUTH2_PROVIDER: [REDACTED] restart: unless-stopped security_opt: - no-new-privileges:true
networks: stirlingpdf: name: stirlingpdf driver: bridge
Firefox
The text was updated successfully, but these errors were encountered:
Found issue, will have a fix out tomorrow!
Sorry, something went wrong.
Hi @Frooodle Thanks for the quick response and switft action.
No branches or pull requests
Installation Method
Docker
The Problem
I am getting the error message 'Error: 403 Forbidden for path: /api/v1/user/updateUserSettings' when I click on the 'Sync Account <- Browser' button.
Version of Stirling-PDF
0.36.5
Last Working Version of Stirling-PDF
No response
Page Where the Problem Occurred
https://stirling-pdf.mydomain.com/account
Docker Configuration
No response
Relevant Log Output
Copying original files without overwriting existing files cp: can't stat '/usr/share/tesseract-ocr/4.00/tessdata/*': No such file or directory Running Stirling PDF with DOCKER_ENABLE_SECURITY=true and VERSION_TAG=0.36.5 Trying to download from: https://github.com/Stirling-Tools/Stirling-PDF/releases/download/v0.36.5/Stirling-PDF-with-login.jar % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 143M 100 143M 0 0 28.6M 0 0:00:05 0:00:05 --:--:-- 33.4M Setting permissions and ownership for necessary directories... Picked up JAVA_TOOL_OPTIONS: -XX:MaxRAMPercentage=75 11:36:00.302 [main] WARN s.software.SPDF.SPdfApplication - External configuration file 'configs/settings.yml' does not exist. 11:36:00.309 [main] WARN s.software.SPDF.SPdfApplication - Custom configuration file 'configs/custom_settings.yml' does not exist. Powered by Spring Boot 3.4.0 11:36:02.676 [main] INFO s.software.SPDF.SPdfApplication - Starting SPdfApplication v0.36.5 using Java 21.0.5 with PID 11 (/app-security.jar started by stirlingpdfuser in /) 11:36:02.681 [main] INFO s.software.SPDF.SPdfApplication - The following 1 profile is active: "default" 11:36:43.708 [main] INFO s.software.SPDF.SPdfApplication - Running configs ApplicationProperties(legal=ApplicationProperties.Legal(termsAndConditions=https://www.stirlingpdf.com/terms-and-conditions, privacyPolicy=https://www.stirlingpdf.com/privacy-policy, accessibilityStatement=, cookiePolicy=, impressum=), security=ApplicationProperties.Security(enableLogin=true, csrfDisabled=false, initialLogin=ApplicationProperties.Security.InitialLogin(username=), oauth2=ApplicationProperties.Security.OAUTH2(enabled=true, issuer=https://auth.tinycloud.me, clientId=stirling-pdf, autoCreateUser=true, blockRegistration=false, useAsUsername=preferred_username, scopes=[openid, profile, email], provider=Authelia, client=ApplicationProperties.Security.OAUTH2.Client(google=Google [clientId=, clientSecret=NULL, scopes=[https://www.googleapis.com/auth/userinfo.email, https://www.googleapis.com/auth/userinfo.profile], useAsUsername=email], github=GitHub [clientId=, clientSecret=NULL, scopes=[read:user], useAsUsername=login], keycloak=Keycloak [issuer=, clientId=, clientSecret=NULL, scopes=[openid, profile, email], useAsUsername=preferred_username])), saml2=ApplicationProperties.Security.SAML2(enabled=false, autoCreateUser=true, blockRegistration=false, registrationId=stirling, idpSingleLogoutUrl=https://dev-XXXXXXXX.okta.com/app/dev-XXXXXXXX_stirlingpdf_1/externalKey/slo/saml, idpSingleLoginUrl=https://dev-XXXXXXXX.okta.com/app/dev-XXXXXXXX_stirlingpdf_1/externalKey/sso/saml, idpIssuer=http://www.okta.com/externalKey, idpCert=class path resource [okta.crt]), loginAttemptCount=5, loginResetTimeMinutes=120, loginMethod=oauth2, customGlobalAPIKey=null), system=ApplicationProperties.System(defaultLocale=en-US, googlevisibility=false, showUpdate=false, showUpdateOnlyAdmin=false, customHTMLFiles=false, tessdataDir=/usr/share/tessdata, enableAlphaFunctionality=false, enableAnalytics=undefined), ui=ApplicationProperties.Ui(appName=PDF Tools, homeDescription=Your locally hosted one-stop-shop for all your PDF needs., appNameNavbar=PDF Tools), endpoints=ApplicationProperties.Endpoints(toRemove=[], groupsToRemove=[]), metrics=ApplicationProperties.Metrics(enabled=true), automaticallyGenerated=ApplicationProperties.AutomaticallyGenerated(UUID=example, appVersion=0.35.0), enterpriseEdition=ApplicationProperties.EnterpriseEdition(enabled=false, maxUsers=0, customMetadata=ApplicationProperties.EnterpriseEdition.CustomMetadata(autoUpdateMetadata=false, author=username, creator=Stirling-PDF, producer=Stirling-PDF)), autoPipeline=ApplicationProperties.AutoPipeline(outputFolder=null), processExecutor=ApplicationProperties.ProcessExecutor(sessionLimit=ApplicationProperties.ProcessExecutor.SessionLimit(libreOfficeSessionLimit=1, pdfToHtmlSessionLimit=1, pythonOpenCvSessionLimit=8, weasyPrintSessionLimit=16, installAppSessionLimit=1, calibreSessionLimit=1, qpdfSessionLimit=4, tesseractSessionLimit=1), timeoutMinutes=ApplicationProperties.ProcessExecutor.TimeoutMinutes(libreOfficeTimeoutMinutes=30, pdfToHtmlTimeoutMinutes=20, pythonOpenCvTimeoutMinutes=30, weasyPrintTimeoutMinutes=30, installAppTimeoutMinutes=60, calibreTimeoutMinutes=30, tesseractTimeoutMinutes=30, qpdfTimeoutMinutes=30))) 11:36:45.272 [main] INFO s.s.S.config.EndpointConfiguration - Total disabled endpoints: 3. Disabled endpoints: book-to-pdf, pdf-to-book, pdf-to-pdfa 11:36:48.317 [main] INFO s.s.S.c.s.d.DatabaseBackupHelper - Database export completed: configs/db/backup/backup_202412221136.sql 11:36:48.319 [main] INFO s.s.S.c.s.InitialSecuritySetup - Default admin user created: admin 11:36:48.521 [main] INFO s.s.S.c.s.d.DatabaseBackupHelper - Database export completed: configs/db/backup/backup_202412221136.sql 11:36:48.673 [main] INFO s.s.S.c.s.InitialSecuritySetup - Internal API user created: STIRLING-PDF-BACKEND-API-USER 11:37:02.903 [main] INFO s.software.SPDF.SPdfApplication - Started SPdfApplication in 62.585 seconds (process running for 68.834) 11:37:02.917 [scheduling-1] WARN s.software.SPDF.utils.FileMonitor - not monitoring any directory, even the root directory itself: ./pipeline/watchedFolders 11:37:02.924 [scheduling-1] INFO s.software.SPDF.utils.FileMonitor - Registered directory: ./pipeline/watchedFolders 11:37:02.955 [main] INFO s.software.SPDF.SPdfApplication - Stirling-PDF Started. 11:37:02.956 [main] INFO s.software.SPDF.SPdfApplication - Navigate to http://localhost:8080 11:38:02.484 [qtp2074201534-70] INFO s.s.S.c.s.d.DatabaseBackupHelper - Database export completed: configs/db/backup/backup_202412221138.sql 11:40:14.354 [qtp2074201534-64] INFO o.s.api.AbstractOpenApiResource - Init duration for springdoc-openapi is: 3859 ms 11:49:55.289 [qtp2074201534-116] WARN o.s.w.s.m.s.DefaultHandlerExceptionResolver - Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' is not supported] 11:53:37.055 [qtp2074201534-88] ERROR s.s.S.c.s.CustomLogoutSuccessHandler - Logout from the provider is not supported? Report it at https://github.com/Stirling-Tools/Stirling-PDF/issues 11:53:37.066 [qtp2074201534-88] INFO s.s.S.c.s.CustomLogoutSuccessHandler - Redirecting to default logout URL: /login?logout=true 00:00:00.028 [scheduling-1] INFO s.s.S.c.s.d.DatabaseBackupHelper - Database export completed: configs/db/backup/backup_202412230000.sql
Additional Information
services:
stirlingpdf:
image: ${IMAGE_SG_STIRLINGPDF01}
container_name: stirlingpdf
hostname: stirlingpdf
networks:
- stirlingpdf
ports:
- '[REDACTED]'
volumes:
- /path/to/stirlingpdf/trainingData:/usr/share/tesseract-ocr/4.00/tessdata
- /path/to/stirlingpdf/extraConfigs:/configs
- /path/to/stirlingpdf/customFiles:/customFiles
environment:
PUID: 1000
PGID: 1000
SYSTEM_DEFAULTLOCALE: en-US
UI_APPNAME: 'PDF Tools' # application's visible name
UI_HOMEDESCRIPTION: 'Your locally hosted one-stop-shop for all your PDF needs.' # short description or tagline shown on the homepage
UI_APPNAMENAVBAR: 'PDF Tools' # name displayed on the navigation bar
SYSTEM_GOOGLEVISIBILITY: false
DOCKER_ENABLE_SECURITY: true
SECURITY_ENABLELOGIN: true
SECURITY_LOGINMETHOD: oauth2
SECURITY_OAUTH2_ENABLED: true
SECURITY_OAUTH2_AUTOCREATEUSER: true
SECURITY_OAUTH2_ISSUER: "[REDACTED]"
SECURITY_OAUTH2_CLIENTID: "stirling-pdf"
SECURITY_OAUTH2_CLIENTSECRET: "[REDACTED]"
SECURITY_OAUTH2_USEASUSERNAME: "preferred_username"
SECURITY_OAUTH2_SCOPES: "openid,profile,email"
SECURITY_OAUTH2_PROVIDER: [REDACTED]
restart: unless-stopped
security_opt:
- no-new-privileges:true
networks:
stirlingpdf:
name: stirlingpdf
driver: bridge
Browsers Affected
Firefox
No Duplicate of the Issue
The text was updated successfully, but these errors were encountered: