Travel Mapping

User Discussions => Welcome & Notices => Topic started by: Jim on January 08, 2023, 09:55:21 pm

Title: Experimenting with new site update script
Post by: Jim on January 08, 2023, 09:55:21 pm
With tonight's site update, I've started to experiment with a new update script.  I had to fix up a couple things manually today, but I think all's good.  Let me know if you notice anything that looks off within the next few days while I continue work on this.
Title: Re: Experimenting with new site update script
Post by: Jim on January 09, 2023, 10:15:40 pm
I might have managed to get the DB into a state inconsistent with stats and logs.  Re-running now, hopefully all will be good shortly.
Title: Re: Experimenting with new site update script
Post by: yakra on January 10, 2023, 12:07:23 am
The chcon stuff? Weird.
hash chcon returns nonzero, so $chcon should get set to false. We should be OK. In theory.
Title: Re: Experimenting with new site update script
Post by: yakra on February 06, 2023, 09:26:38 am
Thought there was a forum post or GitHub issue spoecifically saying trying to use chcon on noreaster got things into a bad state, but can't find it.

I bet there was a problem with the combination of set -e and running false, and that's what necessitated a584d79 (https://github.com/TravelMapping/DataProcessing/commit/a584d791ea569f4582b0cf637598dfffdff82fe0).