Version 1 vs 2
Version 1 vs 2
Edits
Edits
- Edit by keithzg, Version 2
- Jun 10 2024 1:54 AM
- Edit by keithzg, Version 1
- Jun 10 2024 1:31 AM
- ·For my own reference
Original Change | Most Recent Change |
Edit Current Version 1... | Edit Draft Version 2... |
Content Changes
Content Changes
== Updating ==
Upstream docs:
* https://firefish.dev/firefish/firefish/-/blob/develop/docs/upgrade.md
* https://firefish.dev/firefish/firefish/-/blob/develop/docs/notice-for-admins.md
My procedure, coming from an install just before the rebranding:
```
lang=bash
sudo service nginx stop
sudo service calckey stop
# Change to the user and dir for the service
sudo su calckey
cd ~/calckey
# and run some asset checkout
git checkout -- packages/backend/assets
# I'm not just upgrading to latest HEAD c'mon guys get real
git checkout vTagname
# I guess this updates whatever corepack is
corepack prepare pnpm@latest --activate
# Seems more like `apt update`? I say this because it seems to just get the index, and then...
pnpm install --frozen-lockfile
# ...a ton of Node and Rust package compiles are done, which takes stupidly long, all you devops dorks need to find God (Debian)
NODE_ENV='production' NODE_OPTIONS='--max_old_space_size=3072' pnpm run rebuild
# maybe if I knew nginx this override wouldn't be necessary? I dunno man apache2lyfe
NODE_TLS_REJECT_UNAUTHORIZED=0 pnpm run migrate
exit
sudo service calckey start
sudo service nginx start
```
== Why is Keith writing this? ==
T156
== Updating ==
Upstream docs:
* https://firefish.dev/firefish/firefish/-/blob/develop/docs/upgrade.md
* https://firefish.dev/firefish/firefish/-/blob/develop/docs/notice-for-admins.md
My procedure, coming from an install just before the rebranding:
```
lang=bash
sudo service nginx stop
sudo service calckey stop
# Change to the user and dir for the service
sudo su calckey
cd ~/calckey
# and run some asset checkout
git checkout -- packages/backend/assets
# I'm not just upgrading to latest HEAD c'mon guys get real
git checkout vTagname
# I guess this updates whatever corepack is
corepack prepare pnpm@latest --activate
# Seems more like `apt update`? I say this because it seems to just get the index, and then...
pnpm install --frozen-lockfile
# ...a ton of Node and Rust package compiles are done, which takes stupidly long, all you devops dorks need to find God (Debian)
NODE_ENV='production' NODE_OPTIONS='--max_old_space_size=3072' pnpm run rebuild
# maybe if I knew nginx this override wouldn't be necessary? I dunno man apache2lyfe
NODE_TLS_REJECT_UNAUTHORIZED=0 pnpm run migrate
exit
# nginx never provides connection to calckey unless it's started already when nginx is, for some nginx-y reason
sudo service calckey start && wait 10 && sudo service nginx start
```
== Why is Keith writing this? ==
T156
== Updating ==
Upstream docs:
* https://firefish.dev/firefish/firefish/-/blob/develop/docs/upgrade.md
* https://firefish.dev/firefish/firefish/-/blob/develop/docs/notice-for-admins.md
My procedure, coming from an install just before the rebranding:
```
lang=bash
sudo service nginx stop
sudo service calckey stop
# Change to the user and dir for the service
sudo su calckey
cd ~/calckey
# and run some asset checkout
git checkout -- packages/backend/assets
# I'm not just upgrading to latest HEAD c'mon guys get real
git checkout vTagname
# I guess this updates whatever corepack is
corepack prepare pnpm@latest --activate
# Seems more like `apt update`? I say this because it seems to just get the index, and then...
pnpm install --frozen-lockfile
# ...a ton of Node and Rust package compiles are done, which takes stupidly long, all you devops dorks need to find God (Debian)
NODE_ENV='production' NODE_OPTIONS='--max_old_space_size=3072' pnpm run rebuild
# maybe if I knew nginx this override wouldn't be necessary? I dunno man apache2lyfe
NODE_TLS_REJECT_UNAUTHORIZED=0 pnpm run migrate
exit
sudo service# nginx never provides connection to calckey unless it's started already when nginx is, for some nginx-y reason
sudo service calckey start && wait 10 && sudo service nginx start
```
== Why is Keith writing this? ==
T156