Argon Eon
Raspberry Pi 4 8GB
Raspberry Pi OS Lite 64 Bit
argoneon.sh
The only thing installed before running the argoneon script was open media vault
system packages up to date before running the script
Installation gets stuck at the message shown below. No errors; just an endless wait for something to finish
pi@foobox:~ $ curl https://download.argon40.com/argoneon.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:ā:-- --:ā:-- --:ā:-- 0*************
Argon Setup
100 13198 100 13198 0 0 14946 0 --:ā:-- --:ā:-- --:ā:-- 14946
Reading package listsā¦ Done
Building dependency treeā¦ Done
Reading state informationā¦ Done
python3-rpi.gpio is already the newest version (0.7.0-0.2+b2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package listsā¦ Done
Building dependency treeā¦ Done
Reading state informationā¦ Done
The following additional packages will be installed:
libi2c0
Recommended packages:
i2c-tools
The following NEW packages will be installed:
libi2c0 python3-smbus
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.8 kB of archives.
After this operation, 74.8 kB of additional disk space will be used.
Get:1 Index of /debian bullseye/main arm64 libi2c0 arm64 4.2-1+b1 [10.6 kB]
Get:2 Index of /debian bullseye/main arm64 python3-smbus arm64 4.2-1+b1 [13.2 kB]
Fetched 23.8 kB in 0s (98.6 kB/s)
Selecting previously unselected package libi2c0:arm64.
(Reading database ā¦ 44324 files and directories currently installed.)
Preparing to unpack ā¦/libi2c0_4.2-1+b1_arm64.deb ā¦
Unpacking libi2c0:arm64 (4.2-1+b1) ā¦
Selecting previously unselected package python3-smbus:arm64.
Preparing to unpack ā¦/python3-smbus_4.2-1+b1_arm64.deb ā¦
Unpacking python3-smbus:arm64 (4.2-1+b1) ā¦
Setting up libi2c0:arm64 (4.2-1+b1) ā¦
Setting up python3-smbus:arm64 (4.2-1+b1) ā¦
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) ā¦
Reading package listsā¦ Done
Building dependency treeā¦ Done
Reading state informationā¦ Done
Suggested packages:
libi2c-dev python-smbus
Recommended packages:
read-edid
The following NEW packages will be installed:
i2c-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 79.3 kB of archives.
After this operation, 297 kB of additional disk space will be used.
Get:1 Index of /debian bullseye/main arm64 i2c-tools arm64 4.2-1+b1 [79.3 kB]
Fetched 79.3 kB in 0s (828 kB/s)
Selecting previously unselected package i2c-tools.
(Reading database ā¦ 44337 files and directories currently installed.)
Preparing to unpack ā¦/i2c-tools_4.2-1+b1_arm64.deb ā¦
Unpacking i2c-tools (4.2-1+b1) ā¦
Setting up i2c-tools (4.2-1+b1) ā¦
Processing triggers for man-db (2.9.4-2) ā¦
Reading package listsā¦ Done
Building dependency treeā¦ Done
Reading state informationā¦ Done
The following NEW packages will be installed:
hddtemp
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 56.8 kB of archives.
After this operation, 188 kB of additional disk space will be used.
Get:1 Index of /debian bullseye/main arm64 hddtemp arm64 0.3-beta15-54 [56.8 kB]
Fetched 56.8 kB in 0s (755 kB/s)
Preconfiguring packages ā¦
Selecting previously unselected package hddtemp.
(Reading database ā¦ 44362 files and directories currently installed.)
Preparing to unpack ā¦/hddtemp_0.3-beta15-54_arm64.deb ā¦
Unpacking hddtemp (0.3-beta15-54) ā¦
Setting up hddtemp (0.3-beta15-54) ā¦
Processing triggers for man-db (2.9.4-2) ā¦
Created symlink /etc/systemd/system/multi-user.target.wants/argononed.service ā /lib/systemd/system/argononed.service.
Has anyone else seen this issue?
Edit: through walking through the script and trying different things it is clear that it is hanging on starting argononed.service and if I kill that it then it hangs on argoneond.service
Some other things worth noting:
the power button is working fine
the hdd backplane is working fine
the fan is working fine.
The oled screen only shows the power on screen then shuts off.
Same issue. Only commands I ran before were the usual sudo apt update ; sudo apt upgrade. Additionally, the script yields no output when ran directly: /usr/bin/python3 /etc/argon/argoneond.py
nor /usr/bin/python3 /etc/argon/argoneond.py SERVICE
If Iām not mistaken then rebooting the system with these services enabled freezes the entire indefinitely, at least thatās what happened to me. So after the second failed attempt at installing the Argon script, this time Iām trying
They are systemd service modules if you look at the configuration in those modules whether they block bootup or not is dependent on the service type argument. I believe they are type simple which doesnāt block other scripts from running. Regardless I didnāt have any issues with restarting.
[quote=ācoro1404, post:3, topic:748ā]the process seems stuck in either i2c or gpio:
[/quote]
I havenāt troubleshooted this any further TBH, but that is my suspicion as well. I have a hunch from reading the myriad of complaints about the oled screen(and some of the python code the service daemons run) that there is something wrong with the i2c connection which it seems is setup over gpio.
Curiously I sent a support email right after starting this thread and have received no response other then the canned automated one(so 2 weeks ago). Pretty annoying to me considering the main thing Iām currently using this thing for is just documenting how to set it up so I can write a howto thread for new users. Help me help you and all that.
the Ubuntu tweaks of the script is seemingly chosen instead the Raspbian/Pi OS ones.
Additionally the same grep command is used in /etc/argon/argoneon-rtcconfig.sh and in /etc/argon/argonone-ir which should concern @staff if the problem description is correct.
Yes, this is what I looked into doing. Though both files mentioned; argoneon-rtcconfig.sh and argonone-ir are auxiliary in function and the Raspbian detection is at the point of installation only used for selecting which packages to install (and to create some desktop shortcut in /home/pi. So I donāt quite see how it would help as Iāve manually installed all required packages anyway. (Again, hesitant to reboot with services installed)
I can actually get the OLED and fan control to work by running /usr/bin/python3 /etc/argon/argononed.py SERVICE manually. However sudo systemctl start argononed.service freezes as usual.
Interestingā¦ that worked for me to(fan is going bonkers, but thatās probably a config thing). Proves itās a software issue not a hw one as far as I am concerned.
If I run argononed.service in console one and let it hang, then check itās status in console two it says āActive: inactive (dead)ā.
But if I then ācheck ps -aux | grep argonā in a third console not only does it show the systemctl command still running, but it shows it running twice (once with sudo and once without and both running as root).
Journalctl logs donāt show anything
Either the script starts, fails silently, and systemctl locks up or
systemctl locks up and never even calls the command for some reason.
I also tried tweaking the systemd configuration in a variety of ways and reloading to no avail.
Sorry, Iām a Chinese, and my English is not very good. I also bought argon eon in my country. I like it very much, but I also encountered this problem. When executing the script, I got stuck, hit a breakpoint, and found that I was also stuck in the service of starting argononed. If you have any way, can you tell me?
Donāt ask me why this works, but reflash your OS using Raspberry Pi Imager, and set the username and password (even though youāre using an SSH cert).
So here is a āhackingā solution which solves the wrong ID issue and the multiuser issue described above in one line: curl https://download.argon40.com/argonfanhat.sh | sed -E 's/"\$ID" *= *"raspbian"/\0 ] || [ "$ID" = "debian"/g;' | sed -E 's/echo "(After|WantedBy)=multi-user\.target"/# \0/g;' | bash