lab
lab copied to clipboard
[gotify] requires GLIBC_2.28
… but CentOS 7 only provides up to GLIBC_2.17
+1
since gotify server version 2.1.7
@SalocinHB will you be able to provide GLIBC_2.28 (or higher) on uberspace7?
I had a the same issue, thankfully i could build it on the space itself, so i can now run gotify 2.2.0
will you be able to provide GLIBC_2.28 (or higher) on uberspace7?
sadly no @franok because this deeply linked to the OS, there unfortunately wont be a higher GLIBC on U7, but of course in following products
thankfully i could build it on the space itself, so i can now run gotify 2.2.0 can you provide a solution for this in the guide @eitch ?
I basically followed the steps required here: https://gotify.net/docs/dev-setup
# ssh into box, then execute the following commands
# first install gotify:
mkdir ~/gotify && cd ~/gotify
wget https://github.com/gotify/server/releases/latest/download/gotify-linux-amd64.zip
unzip gotify-linux-amd64.zip
wget -O config.yml https://raw.githubusercontent.com/gotify/server/master/config.example.yml
vi ~/etc/services.d/gotify.ini
# now build gotify
git clone https://github.com/gotify/server.git
cd server
git checkout v2.2.2
make download-tools
go get -d
cd ui
yarn
yarn build
cd ..
go run hack/packr/packr.go
export LD_FLAGS="-w -s -X main.Version=$(git describe --tags | cut -c 2-) -X main.BuildDate=$(date "+%F-%T") -X main.Commit=$(git rev-parse --verify HEAD) -X main.Mode=prod";
# don't run as it requires docker: make build-linux-amd64
# just run:
go build -ldflags="$LD_FLAGS" -o gotify-server
# replace previous binary:
mv gotify-server ../gotify-linux-amd64
I've sent in a PR for the doc: https://github.com/Uberspace/lab/pull/1463
I just tested an upgrade to 2.2.2, this worked for me, by just executing all the commands again, and restarting the gotify service.
can the mentioned PR to update the guide be merged?
Good question. I haven't heard back yet on my PR