Stuart J. Whitmore on Nostr: Speaking of installing - and eventually upgrading - things, I'm puzzled that so many ...
Speaking of installing - and eventually upgrading - things, I'm puzzled that so many instructions still focus on a slow & clumsy way to do this. I've found it effective for most prebuilt Web packages to:
1. extract into a .new folder
2. copy from live to .new to complete the site "image"
3. mv live .old && mv .new live
4. run db or other upgrade code
Might need to enable/disable maint mode in there, but it makes for less down time than other approaches I usually see that extract into live.
Published at
2024-12-28 23:17:24Event JSON
{
"id": "7e0b575aa00ca036913e99d4fcbd3f1f929ea15f3d2f94e445bac84d03324dad",
"pubkey": "9186d0dd125350ad32abc1641a1396736c919244607856065c8c4d759e380e1b",
"created_at": 1735427844,
"kind": 1,
"tags": [
[
"proxy",
"https://about-the-author.online/@stuart_j_whitmore/113732999234882671",
"web"
],
[
"proxy",
"https://about-the-author.online/users/stuart_j_whitmore/statuses/113732999234882671",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://about-the-author.online/users/stuart_j_whitmore/statuses/113732999234882671",
"pink.momostr"
],
[
"-"
]
],
"content": "Speaking of installing - and eventually upgrading - things, I'm puzzled that so many instructions still focus on a slow \u0026 clumsy way to do this. I've found it effective for most prebuilt Web packages to:\n\n1. extract into a .new folder\n2. copy from live to .new to complete the site \"image\"\n3. mv live .old \u0026\u0026 mv .new live\n4. run db or other upgrade code\n\nMight need to enable/disable maint mode in there, but it makes for less down time than other approaches I usually see that extract into live.",
"sig": "e083d4e18369113c621dd73e9d0f0b847eccd881ac530780d2a84f38e7a6c6d5b3b219d7a569a97a9c6e1e5cdb7651e54f4097ff86e789a99d896eeb65a523ff"
}