pi-web
pi-web copied to clipboard
Document Docker and cross-platform session path limitations
Problem
Pi session files store their working directory in the session header.
For a Pi instance running in Docker, that path is commonly a Linux path such as /workspace. Opening the same session from a Windows-hosted Pi Web instance can fail because the host cannot resolve that path.
Documentation request
Add documentation covering:
- Pi Web should normally run in the same environment as the Pi agent it controls.
- Docker session paths are not automatically portable to a Windows/macOS host.
- Moving Pi data between environments may require migrating the session
cwd. - Users should back up session files before performing any migration.
Why
Without this guidance, users can see empty session lists, missing project directories, or failed agent event streams after moving Pi data between Docker and a host machine.
fixed in 99dae1f9b2496168be7baca65ec27cdd8bd178bb