Update tif file

Hi. I have a questions for you.
I have a license of qgis field cloud. When I create a project with raster files (.tif) I have no problem but if I put a new raster in the project is imposible to update from the cloud to the phone Because fail all raster file (from notebook to the cloud it does not show any warning).
follow the warning when I try to update project in phone:
Proyecto e8c22…: la capa empaquetada ‘file’ no es válida.
Código de error invalid_dataprovider, mensaje de error:
Cannot open GDAL dataset /route in my notebook/file.tif
I am something wrong or is not permited raster update ?
Best.
Fabio


Imported from GitHub discussion by @UsuarioFabio on 2023-12-14T18:00:43Z

Hello Fabio,

Regarding the raster format, we recommend to using GeoPackage (.gpkg). Exporting the raster to this formats in QGIS and saving it as a new file will help ensure smoother synchronization and reduce potential errors, to export right click the layer Export > Save layer as > GeoPackage make sure you are saving this file to the working directory of the project.


Imported from GitHub comment by @SeqLaz on 2024-01-04T14:49:40Z

Thank for answer my questions.
I have tried with the tif and gpkg extensions.
I save the new raster to the folder where I had the project data C:\Users\User\Documents\QField\Folder and also to the C:\Users\User\QField\cloud\Folder folder to test.
When I ask to synchronize the project, the new raster is uploaded to the cloud but it does not show the need for an update on the phone and it is not updated on the cell phone.



Please could you tell me what am I doing wrong?

Best
Fabio


Imported from GitHub comment by @UsuarioFabio on 2024-01-04T17:09:21Z

Hello Fabio.

For better assistance could you reach out to us opening a ticket on the question mark in the right corner of the QFieldCloud platform?

Also, if you can attach a sample of the project this would be better for assisting you further.

Best regards.


Imported from GitHub comment by @SeqLaz on 2024-01-04T21:27:38Z

Hello Fabio,

I have been encountering a very similar issue when trying to remove and/or add .tif or .gpkg files to existing projects. I was receiving the same “invalid_dataprovider” error code. The following solution worked for me, and the issue is yet to resurface.

I realized that I was using Qgis build 3.34.2, and apparently the current qfield/qcloud versions are running on 3.32.1 or something like that. I reassembled my project using the 3.28.14 long term release, then uploaded the project again to qcloud, and this seems to have resolved the “invalid_dataprovider” issue.

If you are using a newer build than 3.32, I would recommend trying to recreate your project with an earlier version of Qgis and then try again. Hope this works for you!


Imported from GitHub comment by @seades0630 on 2024-01-09T17:14:13Z

Thank you seades0630.


Imported from GitHub comment by @UsuarioFabio on 2024-01-09T17:30:35Z