Open jsalsburg opened 1 month ago
There is no POST_END_OF_NIGHT_DATA=true in my config/config.sh. What do I do to correct the WARNING: data.json error?
We got rid of the POST_END_OF_NIGHT_DATA setting a couple releases ago. If you have a local and/or remote Website then postData.sh
is automatically called during the end-of-night processing to upload the data.json
file.
That "WARNING: data.json..." you are seeing is almost always due to incorrect settings in ftp-setting.sh.
The easiest check if you are running the newest Allsky is to run postData.sh --debug
and see what it says. If it can't upload the file, look at the "Troubleshooting -> Uploads" documentation page, including the last section.
The very last thing the website installation script does is tell the user to update that setting. Did you see that line?
The next release will set POST_END_OF_NIGHT_DATA automatically which will eliminate this problem.
Originally posted by @EricClaeys in https://github.com/AllskyTeam/allsky/issues/1231#issuecomment-1166179151