I just the script with a fresh install of Bookworm on a Zero 2 W. It worked for the most part, but failed with:
unzip: cannot find or open /home/pi/my_kegbot_packages_latest.zip, /home/pi/my_kegbot_packages_latest.zip.zip or /home/pi/my_kegbot_packages_latest.zip.ZIP.
bash: line 1: /home/pi/mypkgs/install_part1.sh: No such file or directory
cp: cannot stat '/home/pi/mypkgs/NEW-50-server.cnf': No such file or directory
Failed to restart mysql.service: Unit mysql.service not found.
/dev/fd/63: line 26: kegberry: command not found
bash: line 1: /home/pi/mypkgs/install_part2.sh: No such file or directory
/dev/fd/63: line 38: kegberry: command not found
sed: can't read /home/kegbot/.kegbot/pycore-flags.txt: No such file or directory
I’m new to raspberry pi, so is a user account named ‘pi’ required? I made my user id the same as my Mac, so I only have ‘mikev’ in the /home directory. Can the script use $USER instead?
It’s also looking for /home/kegbot. Does the script make that automatically?