ok.
the files in question: syslog, messages and kern.log, the name without suffix (« tout court ») is the current file, older files are suffixed with .1, .2 etc, then with .gz (the files are compressed to take up less space)
example on a Raspberry Pi thatâs been running for months, continuously.
root@piwigo:/var/log# ls -larlt syslog*
-rw-r----- 1 root adm 734411 Jan 9 2022 syslog.2
-rw-r----- 1 root adm 528729 Jan 23 2022 syslog.4
-rw-r----- 1 root adm 475204 Jan 30 2022 syslog.3
-rw-r----- 1 root adm 112998 Dec 11 00:00 syslog.4.gz
-rw-r----- 1 root adm 111543 Dec 18 00:00 syslog.3.gz
-rw-r----- 1 root adm 114919 Dec 25 00:00 syslog.2.gz
-rw-r----- 1 root adm 890876 Jan 1 00:00 syslog.1
-rw-r----- 1 root adm 771513 Jan 5 09:09 syslog
root@piwigo:/var/log# ls -larlt messages*
-rw-r----- 1 root adm 142 Dec 4 00:10 messages.4.gz
-rw-r----- 1 root adm 141 Dec 11 00:10 messages.3.gz
-rw-r----- 1 root adm 250 Dec 18 06:19 messages.2.gz
-rw-r----- 1 root adm 148 Dec 25 00:10 messages.1
-rw-r----- 1 root adm 148 Jan 1 00:10 messages
root@piwigo:/var/log# ls -larlt kern.log*
-rw-r----- 1 root adm 8944 Nov 3 10:03 kern.log.4.gz
-rw-r----- 1 root adm 15127 Nov 10 23:18 kern.log.3.gz
-rw-r----- 1 root adm 24649 Nov 11 16:38 kern.log.2.gz
-rw-r----- 1 root adm 145 Nov 14 19:58 kern.log.1
-rw-r----- 1 root adm 0 Nov 20 00:00 kern.log
If itâs the Sonoff key that causes the crash, it would be useful to boot the Raspberry Pi without the key to access its files.
pi3 1GB
gladys uses Docker etc., 1 GB might be tight, right?
are there any sizing charts or recommendations for Gladys, like (maybe a question for @pierre-gilles?)
minimum configuration: pi3 - x GB
with x devices / scenes: recommended memory y GB
etc
from experience thereâs never enough memory; the CPU is « just » that itâs slower or faster
The output of the command free would be interesting (Display amount of free and used memory in the system)
If a Unix system crashes thereâs always a reason.
Iâm willing to read the files
Phil
So, to summarize your options:
* **Beginners and most people** â Raspberry Pi OS Bullseye (32-bit).
* **No Internet on the Pi** â Raspberry Pi OS Bullseye Full (32-bit).
* **Advanced users without a screen** â Raspberry Pi OS Bullseye Lite (32-bit).
* **Adventurous users with a recent model** â Same but in 64-bit.
* **Cautious users** â Legacy.
Personally I have several Pis purring along without any problem .. 64-bit version only on Pi 4s
Phil
Friday evening (6/01/23) I tried to access the Gladys interface via the IP address but it was impossible. I tried on my PC and my smartphone with Firefox and Chrome and with Putty. Always the same: The connection failed.
Same on Saturday, Sunday and today.
EDIT 3 (14/01/23): Itâs been more than a week since I havenât had access to the Gladys interface, except via Gladys Plus⊠Iâm away for a week starting tomorrow. If someone wants to try to help me, itâs either today or starting next Saturday.
However itâs accessible via Gladysplus
EDIT: and ping responds.
I switched to a mini-PC last week.
EDIT 2 (9/01/23): On the mini-PC side, Ubuntu works, access to Gladys at 192.168.. works, ping to the Windows PC works.
The logs:
Darn, I made a 35-page PDF with docker ps and the container logs. Itâs not possible to upload it.
How to put it? A link to my Dropbox?
EDIT 4 (14/01/23): docker restart gladys (in a terminal on the mini PC) changes nothing
EDIT 5 (23/01/23): Iâm back if someone can help me.
It looks like connections to the mini PC running Linux are blocked.
As it is, itâs hard to guess whatâs happening, but it must be a network issue at your place, I think; otherwise Gladys Plus wouldnât work and access to Gladys from your mini PC wouldnât either.
Are you on the same local network? I remember one of your posts where you said you had several local networks.
Yes, Gladys is on an address at 192.168.68.1..
my PC: 192.168.68.1..
my smartphone: 192.168.68.1..
Gateway: 192.168.68.1
The subnet mask is the same for all.
After installing Gladys on the mini-PC, it worked, and one day, it stopped.
Yes, on the mini-PC that hosts Gladys itâs set to automatic.
Iâve set the IP on the router.
As for the ping,
I just connected the PC via Ethernet (it was on WiâFi until now) but nothing changes.
Ping result:
Statistiques Ping pour 192.168.68.1..:
Packets: Sent = 4, Received = 4, Lost = 0 (loss 0%),
Approximate round trip times in milliseconds:
Minimum = 2ms, Maximum = 5ms, Average = 3ms
On the mini-PC, I set either the IP address fixed on the router (192.168.68.1..), or localhost.