Author Topic: Experimenting with new site update script  (Read 9972 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:17:44 pm
Experimenting with new site update script
« 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.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:17:44 pm
Re: Experimenting with new site update script
« Reply #1 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.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: Experimenting with new site update script
« Reply #2 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.
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: Experimenting with new site update script
« Reply #3 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.
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca