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

0 Members and 2 Guests are viewing this topic.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2846
  • Last Login:Today at 01:20:51 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: 2846
  • Last Login:Today at 01:20:51 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.

Online yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4348
  • Last Login:Today at 05:55:57 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

Online yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4348
  • Last Login:Today at 05:55:57 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