filestash
filestash copied to clipboard
[bug] Middleware configuration is lost upon restart
Description of the bug
Upon a restart my middleware configuration (passthrough for S3) is being lost like it's never been there.
Step by step instructions to reproduce the bug
- Set up the app (I use
machines/filestash
image)machines/filestash latest 1d247ef124b3 2 months ago 1.1GB
- Set up s3 backend with a passthrough middleware
- Restart the container
- Profit
Can you replicate that error from the demo?
Observed behavior
settings are being lost
Expected behavior
they're not
My container setup:
services:
filestash:
container_name: filestash
image: machines/filestash
restart: unless-stopped
user: "1000:998"
networks:
- web_ingress
volumes:
- ./data:/app/data/state:rw
environment:
- APPLICATION_URL=https://stash.xxx.dev/
The way to reproduce this is to enable some middleware, change some other settings (e.g. upload checkbox in general settings) and restart the container. The middleware part of the config is gone.
This one is still an issue. If I have to edit something, I get this part of the config lost anyways.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
bump
same issue here, it also seems to randomly happen sometimes without touching anything. Sometimes I become unable to log into the admin page too. messing with the config file I was able to get back into it but now I can't get to the "backend" page, it just won't stop loading. the /login page works but it's just the default now.
It's weird, I haven't found a way to reproduce other than waiting. I'm lost
Same issue with SFTP backend and Passthrough middleware.