Tangerine-Community / Tangerine

Digitize your offline data collection. Create your Forms online with Tangerine Editor, conduct them offline with the Tangerine Android App. All results you collect can be exported as a CSV file, easy for processing in a spreadsheet. Tangerine has been used in over 1 million assessments and surveys in over 60 countries and in 100 languages.
http://www.tangerinecentral.org/
GNU General Public License v3.0
48 stars 30 forks source link

Spreadsheet requests fail #3621

Closed chrisekelley closed 11 months ago

chrisekelley commented 11 months ago

Current version: v4.0

Issue on server:

Check logs in server instance:

Error when exec-ing generate-csv: Error: Command failed: cd /tangerine/server/src/scripts/generate-csv/ && ./bin.js 
group-a1aec71e-ea55-4361-a7ed-9828ee95e1fa-reporting example \"/csv/teach-2-Grade_1_English-1690828836829.csv\"
 50 0 '' ''  \n
Error: Command failed: ./batch.js '/csv/teach-2-Grade_1_English-1690828836829.state.json'\n/bin/sh: ./batch.js: Permission denied\n\n  
chrisekelley commented 11 months ago

I fixed this by

cd /tangerine/server/src/scripts/generate-csv/ 
chmod u+x batch.js
chrisekelley commented 11 months ago

After this was fixed, this was the next error:

https://github.com/Tangerine-Community/Tangerine/issues/3622