mirror of
https://github.com/open-webui/terminals.git
synced 2026-11-05 01:37:21 +00:00
[PR #10] [MERGED] fix: resolve paths relative to package directory, not CWD #42
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/terminals#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/terminals/pull/10
Author: @james-westbrook
Created: 3/26/2026
Status: ✅ Merged
Merged: 3/27/2026
Merged by: @tjbck
Base:
main← Head:fix-relative-paths📝 Commits (1)
41858c9fix: remove relative imports📊 Changes
2 files changed (+16 additions, -6 deletions)
View changed files
📝
terminals/cli.py(+7 -4)📝
terminals/config.py(+9 -2)📄 Description
Description
database_url,data_dir, andscript_locationall used relative paths (./data/...,migrations), so the server only worked when launched fromterminals/terminals/. Runningterminals servefrom the repo root or any other directory would silently fail to find migrations or write the DB to an unexpected location.Defaults now resolve relative to the package directory so behavior is consistent regardless of CWD.
Related Issues
N/A
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.