Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Dawarich
  3. GPX file upload error

GPX file upload error

Scheduled Pinned Locked Moved Dawarich
bugreadonly
8 Posts 2 Posters 47 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • imc67I Online
    imc67I Online
    imc67
    translator
    wrote last edited by imc67
    #1

    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):
    
    1 Reply Last reply
    2
    • imc67I Online
      imc67I Online
      imc67
      translator
      wrote last edited by imc67
      #2

      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

      1 Reply Last reply
      2
      • nebulonN Away
        nebulonN Away
        nebulon
        Staff
        wrote last edited by
        #3

        This should be fixed with latest package. I was able to upload and consume a .gpx file, however I couldn't figure out how to display the points in the map afterwards.

        1 Reply Last reply
        1
        • imc67I Online
          imc67I Online
          imc67
          translator
          wrote last edited by
          #4

          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?

          1 Reply Last reply
          1
          • imc67I Online
            imc67I Online
            imc67
            translator
            wrote last edited by imc67
            #5

            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
            
            1 Reply Last reply
            1
            • nebulonN Away
              nebulonN Away
              nebulon
              Staff
              wrote last edited by
              #6

              Did not even think of such a use-case, but I have never really worked with .gpx files as such. I will add the watcher directory also then

              1 Reply Last reply
              1
              • nebulonN Away
                nebulonN Away
                nebulon
                Staff
                wrote last edited by
                #7

                So the app already has /app/code/tmp linked to /tmp/dawarich. So the imports/watched can already be used, though this is all in the /tmp mount. Not sure what upstream intends here, is one supposed to upload to a /tmp folder manually and how are things cleaned up there?

                1 Reply Last reply
                0
                • imc67I Online
                  imc67I Online
                  imc67
                  translator
                  wrote last edited by
                  #8

                  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”?

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Bookmarks
                  • Search