Downloading a QFieldCloud project to Android - self hosted #5829
-
Hi, I've successfully uploaded a QGIS project to a self-hosted QC install. All has gone well and the project is showing on 'QFieldCloud admin' page and on an Android 13 device on the 'My Projects' tab. When I try to download the project it fails with the error (Downloading error.) with a 'red' dot prefixing the error. No other explanation. The Message Log shows: 'Downloading project '7576e8f2-eaa2-4818-a643' finished with an error: Project 'myproject' file 'data.gpkg': Network error. Failed to download file 'data.gpkg'. System message:[HTTP/404] https://ourcloudserviceip/api/v1/packages/7476e8f2etc/late (see more in the QField error log). The QField error log is empty. I'm using QField 3.4.5 - Ebo (d260bb) on Android 13 I'm not sure whether this is an intended limitation to the QField app not being connected to 'app.qfield.com' by default or a mis-config of the docker image using the 'docker-compose.override.local.yml' instead of 'production' yml?. Any suggestions would be helpful. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hey, @shapley thanks for trying out QFieldCloud yourself.
I can assure you there is no limitation on self-hosted vs app.qfield.cloud and the problems you are experiencing are outside the QField app.
If you get error HTTP 404, it seems a file with given name does not exist. Why I cannot say, needs deeper investigation. Seems there is a problem with the package, so check if jobs succeeded, the project table is updated with the latest package and the files are stored where they should be. I cannot guess much more, as there are quite a lot of combinations how you configured your system. If you need dedicated support for your installation, please drop us a message sales@qfield.cloud . |
Beta Was this translation helpful? Give feedback.
-
Hi, It seems the 'data.gpkg' , 'projectname_cloud_qfield.qgs' and 'projectname_cloud_qfield_attachments.zip' won't download as they were missing on upload to QFieldCloud. Will try and re-instate those files and report progress before closing call. |
Beta Was this translation helpful? Give feedback.
-
Hi, It was in fact the 'data.gpkg' from the list of files uploaded (in the Qfield projects Overview List) that were missing but where are they uploaded to on a self-hosted server? |
Beta Was this translation helpful? Give feedback.
-
Hi, Page not found (404) May be the reason? |
Beta Was this translation helpful? Give feedback.
-
Hi, Just as a reference I've got these errors when trying to download the qgis project from any Android device. Anyone with any idea please let me know. I'm guessing there is an issue with the '.env' config. As suggested by [suricactus] it could be anything. Downloading project Downloading project Downloading project |
Beta Was this translation helpful? Give feedback.
Hey, @shapley thanks for trying out QFieldCloud yourself.
I can assure you there is no limitation on self-hosted vs app.qfield.cloud and the problems you are experiencing are outside the QField app.