0

I have a Raspberry Pi 2B, I installed first Raspberry OS lite and then Ubuntu Server. The behavior I will descript was the same in both systems.

So, I wanted to use Docker to run a web server (1 compose with nginx, php, flask and python), samba server, ftp server (1 compose) and transmission (1 compose with transmission, transmission-rss and python). I installed it and all seemed good, everything run smoothly. Then after few hour, the raspberry it is unreachable. By ssh, sftp, the docker ports, nothing, I have to plug it off to force a reboot. I am not able to connect to it with a screen and a keyboard to check if it is blocked or it is only a network problem. It could happen after 6 or after 15, it happens every time but with different timing.

I looked at the syslog and it seems that for some reason when it happens, it is disabled the ipv4 interface of eth0. If you want to take a look here https://pastebin.com/7G1ARUNx you can find the syslogs of the last time it happened. I am sure it happened around 8.30 because I have a device that upload an image every minute and it stopped at that time.

If it matters, to the raspberry I have a 2.5" exfat hard disk connected to. I already discarded the electrical power problem trying without it or with an external powered case.

Anyone knows how can I fix this problem? Maybe it is because the pi 2 is old and it isn't powerful enough to run all this things, I don't know. At the moment I am running Ubuntu server. Thank you.

6
  • The last line of your log is 08:13:16, it never goes to 8:30 where you claim the problem to be. – Dmitry Grigoryev Feb 23 at 18:33
  • @DmitryGrigoryev - if you look closely, the log is at 8:30 on line 82, then jumps back to 8:13 on line 83 – Jaromanda X Feb 23 at 21:36
  • it is disabled the ipv4 interface of eth0 - where? the eth0 gets an ipv4 address after booting on line 755 – Jaromanda X Feb 23 at 21:42
  • @JaromandaX I wrote that sentence for the table that it is printed on line 564. I am absolutely not sure about it. I am sorry, I should have specified it – Ripper346 Feb 23 at 22:09
  • sure, but the pi gets an ipv4 within 1 second according to that log, so it's not relevant – Jaromanda X Feb 23 at 22:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.