I have a MySQL layer in my survey project that I would like removed before packaging, as it won’t be accessible offsite.
I have set the options for cable exporting to remove that layer from the project, this works fine on my machine and from my machine with a mostly blank user profile but from a different users machine it fails. We are all running QGIS 3.28 and have updated QField sync. Error messages provide no useful info. This doesn’t seem like a bug but possibly an access issue, though the MSQL layer uses basic authentication.
Imported from GitHub discussion by @BTreeTech on 2025-05-14T11:59:55Z
Did you try to use a new user profile on other people’s machine and confirm the issue persists? When you said there is no useful error messages, did you get an error, or it silently does not work as expected?
Imported from GitHub comment by @suricactus on 2025-05-14T12:03:25Z
not tried a new profile on the other machine, good idea. I think the error message just said it failed.
Imported from GitHub comment by @BTreeTech on 2025-05-14T12:06:16Z
Please try with a new profile and please share if the issue still persists. Then we can deep dive what is going on 
Imported from GitHub comment by @suricactus on 2025-05-14T12:08:28Z
Works if its set to offline editing
Imported from GitHub comment by @BTreeTech on 2025-05-14T15:05:24Z
suricactus tested with a blank profile on the other users machine - worked fine. Cleaned up their plugins under their normal profile, worked fine. So probably an issue with some other plugin.
The action settings for each layer seem to be user specific rather than project specific - is this correct?
Imported from GitHub comment by @BTreeTech on 2025-05-15T09:02:13Z
No, layer actions are stored within the project file (.qgs/.qgz). Make sure you save the dialog when you close it so the settings dialog and then you save the QGIS project.
Imported from GitHub comment by @suricactus on 2025-05-15T20:15:29Z