Hi, I installed latest version of ChirpStack OS (4.6.0) on new SD card for RPi4. I was able to connecto to ChirpStack OS console and configured my RAK5146. Hovewer when I click on ChirpStack application, I get error message: This site can’t be reached. What should be wrong? I tried with different devices, RPi4 and also RPi4 CM. Same results.
Please note that on first boot, it might take a few minutes before the device-profiles are imported. You will see that the green LED of the Raspberry Pi will blink rapidly during this time, also the red LED will blink (regular interval) during the time the ChirpStack Gateway OS is still booting. The speed depends on the quality SD Card.
Hi, I was waiting for tenth of minutes, same error message. I tried to download 4.2.0 version and with this version I was finally able to get my RAK2287+RAK5146+Rpi4 working. My gateway is online and available. I will try latest version one more time with second gateway tomorrow.
Good day,
I have the same Problem, RPi 4 with Gateway OS latest full, fresh install, with the Waveshare SX1302 Gateway HAT. The Gateway is running since ~90min ago, I updated all available packages over the Web UI. The server is still not reachable over the Web UI application menu.
NodeRED from the same menu is available, when clicking on the Chirpstack button next to it the connection fails - No connection under Port 8080.
Update on the post: I downgraded to the last version (ChirpStack Gateway OS 4.5.5 Full) and it worked immediately. It seems like a bug with the newest release (4.6.0)?
I have exactly this problem as reported a few days ago here
Hi,
connect via ssh on your raspberry
edit /etc/init.d/chirpstack
on the start_service function there is a line
pmkdir -p /srv/chirpstack
replace it by
mkdir -p /srv/chirpstack
and restart the service
/etc/init.d/chirpstack restart
I’ve downgraded by fully reimaging back to 4.5.4.
Here’s what I’ve tried
Clean image of 4.6, Chirpstack server will not start
Installed 4.5.4 Chirpstack server runs fine.
Upgrade to 4.6, again the Chirpstack server will not start
Seems someone didn’t do the QA on this version of the image by looks of things.
My hardware is Pi4 with WaveShare sx1303 hat.
Sorry for that typo. I have been testing a lot with the PostgreSQL to SQLite migration script, so I think this issue was not caught because the migration script already created this directory for me. I will create a new release with this fixed soon.
Next time when you spot a typo, please don’t hesitate to create a pull-request for this:
I have created a new release which fixes the above issue + starts the device-profile import after starting ChirpStack. This way, the ChirpStack UI is immediately available (instead of after the import has finished).
Hi, not working for me.
What i doing:
On my Pi4, Seed WM1302 Pi-Head, Update to the last 4.5.5 full-squashfs-sysupgrade then performed the database migration with the script “chirpstack-pg-to-sqlite_4.0.0-r1_all.ipk”.
The new folder /srv/chirpstack/ incl. the SQLite DB chirpstack.sqlite
was created. Size 78 MB
Upgrade to 4.6.1, unfortunately nothing starts the LED (red) bink 2x then 1 sec, pause, then again 2 x… endless.
ssh login no problem, ChirpStack Port 8080 running, but no Luci
and another attempt to go back to 4.5.5
and then additionally
chown -R postgres:postgres /srv/postgresql
sudo -u postgres mkdir -p /srv/postgresql/data/pg_notify
sudo -u postgres mkdir -p /srv/postgresql/data/pg_tblspc
sudo -u postgres mkdir -p /srv/postgresql/data/pg_replslot
sudo -u postgres mkdir -p /srv/postgresql/data/pg_twophase
sudo -u postgres mkdir -p /srv/postgresql/data/pg_snapshots
sudo -u postgres mkdir -p /srv/postgresql/data/pg_logical/snapshots
sudo -u postgres mkdir -p /srv/postgresql/data/pg_logical/mappings
sudo -u postgres mkdir -p /srv/postgresql/data/pg_commit_ts
now the migration - > chirpstack-pg-to-sqlite_4.0.0-r1_all.ipk
again 4.6.1 on it, unfortunately no.
a big step to migrate from PostgreSQL to SQLite.
But it will work, I’m sure… a bit patient
The new folder /srv/chirpstack/ incl. the SQLite DB chirpstack.sqlite
was created. Size 78 MB
At least some data was migrated
unfortunately nothing starts the LED (red) bink 2x then 1 sec, pause, then again 2 x… endless.
I’m not sure what is causing this and it will be hard for me to debug / resolve without having access to your Raspberry Pi. If LuCI is not starting, there might be an other issue. What you could do is create a backup (maybe to be sure both the PostgreSQL + SQLite + Redis), then perform a factory reset and after re-configuration copy back the SQLite + Redis files to restore the ChirpStack state.
the new version 4.6.1 addresses the problem and works for me.
for some bizarre reason, simply erasing and re flashing the same SD card as prior version retains some corrupted settings - I had do do a total wipe of the card.
Thanks for the fix. It worked for me.
I have a working gateway now!