GPX file upload error
-
When uploading a gpx file (import) you get a GUI error and in the logs it says:
Errno::EROFS (Read-only file system @ dir_s_mkdir - /app/code/storage/69): -
I’ve found this info for the docker-compose, maybe it’s helps:
Volumes: Configure bind mounts for persistent data:
./public:/var/app/public
./watched:/var/app/tmp/imports/watched
./storage:/var/app/storage
Create the corresponding host folders: mkdir public watched storage. These should be empty before the first start.https://deployn.de/en/blog/dawarich-install/
Or here:
https://github.com/Freika/dawarich/blob/master/docker/docker-compose.yml
-
it works indeed. I found out that on the import page and imported file there are 2 tiny little icons, the left one shows the import on the map. However you can also go to the main page and select the date of the imported file.
I see you added a symlink to "storage", are the other two I mentioned not needed?
-
I have more than 10.000 gpx files to be imported and manually via the GUI there seems to be limits.
I found this, can you implement this "watched" folder also? https://dawarich.app/docs/tutorials/watcher
dawarich_app: image: freikin/dawarich:latest container_name: dawarich_app volumes: - public:/var/app/public + - watched:/var/app/tmp/imports/watched ... dawarich_sidekiq: image: freikin/dawarich:latest container_name: dawarich_sidekiq volumes: - public:/var/app/public + - watched:/var/app/tmp/imports/watched