Google Drive media doesn't download, appear

1. What is the problem? Be very detailed.
My first attempt at using the Google Drive implementation of ODK Collect. (I've used Aggregate for several years.) When I share the xml file and media folder with another Google account, the media folder doesn't download and media does not appear in their form. To be clear, the media folder is visible in the "Shared with Me" tab when the second user is downloading the xml file.

2. What app or server are you using and on what device and operating system? Include version numbers.
ODK Collect v1.25.1. Google Drive. Windows 10.

3. What you have you tried to fix the problem?
Made certain the name of the media folder is exactly the same as the xml file, with the addition of "-media". Ended sharing and re-shared twice. Same issue.

4. What steps can we take to reproduce the problem?

5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.
This seems to be the same problem as https://github.com/opendatakit/collect/issues/290 which was apparently fixed by https://github.com/opendatakit/collect/pull/332

I'm a huge fan of ODK Collect (to the point of being an annual financial contributor). The option to use Google Drive is a fantastic development, and I really appreciate what has been written about it (https://www.google.com/earth/outreach/learn/odk-collect-and-google-drive-integration-to-store-and-manage-your-data/ and https://nafundi.com/blog/posts/serverless-odk-deployments-with-google-apps/
and https://youtu.be/GnXwGmhaI9U), but have found the documentation on how to share this to be lacking. Perhaps I can contribute to this, but first I need to figure out how this works myself!

Thanks in advance for your help. The forum is one of the best things about ODK!

Greg

1 Like

I found my answer here: https://github.com/opendatakit/collect/issues/1591
The trick is to put the xml file and the media folder all within a single folder and share that entire folder with your collaborators. If you share the file and folder separately, the media will not load.
This worked for me.

Greg

1 Like

Thanks for following up with a solution, @Greg1! I also really enjoyed reading your ODK story in the introductions thread. Welcome, it's great to have you here.

I see that a note was added to the form media section in the documentation. Evidently that's not where you were looking for that information. Was there a place in the docs that you looked? Perhaps in the Google Drive setup instructions? If you'd be up for adding the information where you'd find it helpful, that would be fantastic!

Thank you Hélène. Not sure how I missed that information in the form media section. As always, I appreciate the help.

1 Like