mirror of
https://github.com/open-webui/openapi-servers.git
synced 2026-08-24 12:02:55 -04:00
[PR #27] [MERGED] BUGFIX: Fixed permissions error when attempting write to /app/memory.json #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/openapi-servers/pull/27
Author: @DustyPullRequest
Created: 4/7/2025
Status: ✅ Merged
Merged: 4/8/2025
Merged by: @tjbck
Base:
main← Head:patch-1📝 Commits (2)
608ec8fFixed permissions error when attempting write to /app/memory.json451c207Added data persistance to memory server📊 Changes
3 files changed (+15 additions, -0 deletions)
View changed files
📝
compose.yaml(+4 -0)📝
servers/memory/Dockerfile(+6 -0)📝
servers/memory/compose.yaml(+5 -0)📄 Description
When running as a docker container, the following error used to occur from the Python script:
To resolve this, I moved
memory.jsonto the/app/datafolder, changed the ownership toappuserusing theUIDvariable, and set theMEMORY_FILE_PATHenv variable. Now, the error no longer occurs. I also made this folder a volume for data persistence as a QoL improvement. Something similar may be desirable for the filesystem server, but I don't use that server and just didn't work on it. 🙃🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.