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

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 07:57:36 am
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:Today at 07:57:36 am
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:Today at 01:57:14 am
  • 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:Today at 01:57:14 am
  • 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