Closed Stooovie closed 1 month ago
I also got the same issue when I reinstalled spoolman on a new rpi4
So did I. Installation type: Standalone Installed version: 0.20 OS and Distro: Armbian-unofficial 24.2.0-trunk bookworm / OpenNept4une Database type: SQLite
The install.sh
script checks if a .env
file exists, if it doesn't it copies .env.example
renaming it to .env
(link).
In the latest release (v0.20.0) .env.example
is missing from the spoolman.zip
asset that is downloaded using the standalone installation instructions.
Maybe something changed in the release workflows?
As a temporary fix I suggest omitting the execution of install.sh
right away, so:
sudo apt-get update && \
sudo apt-get install -y curl jq && \
mkdir -p ./Spoolman && \
source_url=$(curl -s https://api.github.com/repos/Donkie/Spoolman/releases/latest | jq -r '.assets[] | select(.name == "spoolman.zip").browser_download_url') && \
curl -sSL $source_url -o temp.zip && unzip temp.zip -d ./Spoolman && rm temp.zip && \
cd ./Spoolman
then copying .env.example
from the repo in your downloaded directory and finally running:
bash ./scripts/install.sh
same here. on proxmox vm with mint.
then copying
.env.example
from the repo in your downloaded directory and finally running: bash ./scripts/install.sh
Yes! It works. Thanks a lot
I have not been able to make it work. I downloaded the mentioned file env.example and put it in the root of the program folder and it does not read it. Did I do it wrong or am I missing something or is it just me that is not working? Installation from scratch first time I use the program
I will take a look at the installation script, see if something broke.
In the meantime, the port is read from a ".env" file located in the Spoolman folder. So if you don't have that file, download the .env.example and rename it to .env, then restart and try again.
Echaré un vistazo al script de instalación, veré si algo se rompió.
Mientras tanto, el puerto se lee desde un archivo ".env" ubicado en la alfombra Spoolman. Entonces, si no tiene ese archivo, descarga el .env.example y cambia el nombre a .env, juego reinicie e intención nuevo.
I have the same error
Echaré un vistazo al script de instalación, veré si algo se rompió. Mientras tanto, el puerto se lee desde un archivo ".env" ubicado en la alfombra Spoolman. Entonces, si no tiene ese archivo, descarga el .env.example y cambia el nombre a .env, juego reinicie e intención nuevo.
I have the same error
It needs to be .env
. Notice the dot (.) at the beginning of the file
Echaré un vistazo al script de instalación, veré si algo se rompió. Mientras tanto, el puerto se lee desde un archivo ".env" ubicado en la alfombra Spoolman. Entonces, si no tiene ese archivo, descarga el .env.example y cambia el nombre a .env, juego reinicie e intención nuevo.
I have the same error
It needs to be
.env
. Notice the dot (.) at the beginning of the file
Thanks a lot
I have a same issue : no .env.example so no .env. Once that file present and Spoolman.service restarted, all is OK. When I compare the spoolman.zip from prevoius 0.19 and latest 0.20 version, the later (0.20) has none hidden files / folder in the archive. :-)
Yup seems to be a change in the CI. I have fixed the issue so the next release will include dot-files like .env.example again. For now, manually download the .env.example
and rename it to .env
Describe the bug Standard install on Debian (Raspberry OS Lite 64bit), using the provided commands.
Install finishes, but no port is given:
Spoolman Host (please complete the following information):
I copied the .env sample, pasted in in /Spoolman/.env and reinstalled but that's not in the instructions. The port should be filled in automatically, and it wasn't. Tried twice manually and once with KIAUH.