Closed symstopje closed 7 months ago
Hi @symstopje
(I edited your comment to format the code and make it readable)
Can you share your docker-compose.yml
file complete (but without the keys)? There is a "GATEWAY_EUI manually" in the middle I'm not sure what it is. Also, the MODE: STATIC in the header indicates it's loading the config from a mounted station.conf file. Do you have anything defined in your volumes
section in the yaml?
Hi,
This is complete docker-compose.yml (except rest of CUPS keys/certs ): docker-compose.yml.txt
_GATEWAYEUI manually - comes from wrongly formatted comment in previous line
I now managed to run the service - it is great repository. But I had to manually copy station.conf inside the docker from station.json. I have also rebuilt the image locally.
BR, Jerzy
Hi @symstopje
You have a configuration folder mounted. Looks like the container does not have permissions to create files in that folder, hence it fails creating the station.conf
file.
If you are not going to tweak the station.conf
file (custom channels, radio configuration,....) I'd suggest not to mount it. Otherwise delete the folder altogether and let docker create it itself since you are providing all credentials as environment variables.
Hello again @symstopje My bad, there was a stupid bug in the latest push... fixed it now. Should work fine.
Hi, Thank you for the correction - issue with the station.conf seems to be gone now. I still have problem that RESET_GPIO is ignored. It stays 17 even if I change it to 22. SPI_SPEED and DEVICE are correctly carried on to configuration.
version: '2.0' services: basicstation: image: xoseperez/basicstation:latest container_name: symbasicstation restart: unless-stopped privileged: true network_mode: host environment: MODEL: "IC880A" INTERFACE: "SPI" DEVICE: "/dev/spidev0.0" USE_LIBGPIOD: 0 RESET_GPIO: 22 SPI_SPEED: 2000000 USE_CUPS: 1
This is different problem - should I write separate issue?
I am trying different concentrators - previous was VM1302 - but issues are similar. I must be doing something wrong
I'm struggling to reproduce this error. Need more info. Can you upload the log of the service?
Hi, Here is compose.yml with edited certs: compose.txt
Here is file with logs: basicstation.log
What I do is:
I am using CM4 based system with 64 bit raspbian
I think you are using the version from the docker hub, try using GW_RESET_GPIO instead of RESET_GPIO. This has been changed in the latest version in master which is not yet pushed to docker hub.
I will add a notice about versions in the setting tht change... this is a "forwards compatibility" problem :)
Thank you. GW_RESET_GPIO and docker hub image works fine.
I tried also to build image with basicstation:
build:
context: .
args:
ARCH: aarch64
REMOTE_TAG: v2.0.6
VARIANT: std
[basicstation runner 2/9] RUN install_packages jq vim gpiod socat:
failed to solve: process "/bin/sh -c install_packages jq vim gpiod socat" did not complete successfully: exit code: 159
but build returns errors
I check from fresh git clone on other similar system (original with WM1302) and everything went well with build within compose file. I guess I need to restart fresh on the other system. Thanks a lot for your help.
Hi, I have hard time starting basicstation on Seed Studio RPI-200 with WM1302-SPI. RPI-200 (Linux 6.1.21-v8+). mPCIe connected with different pin numbers for reset than standard .
I managed to connect to AWS LPWAN but then I got a message: No such file (or not readable): station.conf
my composer file looks like:
BR, Jerzy
BR, Jerzy