You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JavaScript error in Docker deployment with readonly mode
Is there an existing issue for this?
I have searched the existing issues
Can the issue be reproduced with the default theme (daylight/midnight)?
I was able to reproduce the issue with the default theme
Could the issue be due to extensions?
I've ruled out the possibility that the extension is causing the problem.
Describe the problem
I started Docker in read-only mode, and when accessing the webpage, I encountered an error.
Uncaught(inpromise) TypeError: Cannotreadpropertiesofnull(reading'querySelector')atq(main.9a75b62f705f1d3e8e60.js:9:951)atJe(main.9a75b62f705f1d3e8e60.js:9:3241)atmain.9a75b62f705f1d3e8e60.js:2677:3420atGenerator.next(<anonymous>)
at s (main.9a75b62f705f1d3e8e60.js:2677:2114)
This error is causing the page to stay on the logo screen, preventing access.
, as there is only an empty <div id="message"></div> tag without any child elements at this point.
The reason for this issue is that the /api/petal/loadPetals endpoint is returning an error with the message "This operation is not supported in read-only mode" as indicated by the code
88250
changed the title
JavaScript error in Docker deployment with readonly mode
Unable to enter the main interface after enabling the kernel read-only mode
Sep 1, 2023
JavaScript error in Docker deployment with readonly mode
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
I started Docker in
read-only
mode, and when accessing the webpage, I encountered an error.This error is causing the page to stay on the logo screen, preventing access.
The problematic code appears to be
siyuan/app/src/dialog/message.ts
Line 39 in 2349b08
<div id="message"></div>
tag without any child elements at this point.The reason for this issue is that the
/api/petal/loadPetals
endpoint is returning an error with the message "This operation is not supported in read-only mode" as indicated by the codesiyuan/kernel/api/router.go
Line 371 in 2349b08
Expected result
Accessing it normally.
Screenshot or screen recording presentation
No response
Version environment
Log file
More information
No response
The text was updated successfully, but these errors were encountered: