GPX file upload error
-
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/storageCreate 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 -
So the app already has
/app/code/tmplinked to/tmp/dawarich. So theimports/watchedcan already be used, though this is all in the/tmpmount. Not sure what upstream intends here, is one supposed to upload to a/tmpfolder manually and how are things cleaned up there? -
Mmm, when I go to Filemanager (of the app) I do see a folder “storage” but not “temp”, should I create it including “imports/watched”?
-
So the app already has
/app/code/tmplinked to/tmp/dawarich. So theimports/watchedcan already be used, though this is all in the/tmpmount. Not sure what upstream intends here, is one supposed to upload to a/tmpfolder manually and how are things cleaned up there?@nebulon said in GPX file upload error:
is one supposed to upload to a
/tmpfolder manually and how are things cleaned up there?I’m not a programmer but my assumption is that the developer means by “temp” a folder that a user or the system can use for files that temporarily exist, either by ingress or whatever. I guess it can be mounted to /app/data/ so a user can get there?
Like in the docs, only the watched folder mapping to app/data?
volumes: - dawarich_public:/var/app/public - dawarich_watched:/var/app/tmp/imports/watched - dawarich_storage:/var/app/storage -
I just noticed that “public” also needs to be symlinked, there are editable files but also the “export” folder needs to be writable. I guess as mentioned before all 3 needs to be symlinked to /app/data/?
-
@nebulon said in GPX file upload error:
do you know what the public folder does?
When I use Terminal of the app and go there I see some html files, images and export folder. I guess it’s all configurable to what you want to show in your browser.
-
The export also works fine for both .json and .gpx. Looks like the export/ folder is not actually used there.
I also found that the app stores the pid file in /tmp which will not go well when regularly purged, so I think we will move all that to /run instead.