markonjak Posted August 24, 2020 Posted August 24, 2020 So recently i noticed that the os image that i am running on my orange pi 3 is for Z28 pro, that's a tv box, when i firstly booted this board i booted it in an image made for orange pi3 and in the cli when i booted it it said running debian buster based armbian for orange pi 3, i have no idea how it switched to Z28 pro image, i don't even know where to find this image, i didn't modify any of the system files, i just set a nextcloud server, is this normal or not?
Igor Posted August 25, 2020 Posted August 25, 2020 8 hours ago, markonjak said: is this normal or not? Not normal. Can you explain detail procedure how you get there - we have to recreate and fully understand why this is happening to be able to fix it. ... and provide logs with armbianmonitor -u It might be clear already out of that.
markonjak Posted August 25, 2020 Author Posted August 25, 2020 The opi 3 is lagging while doing nothing and randomly freezing then losing connection to vnc, for a few seconds then reconnecting, armbian monitor -u doesnt show the link, used armbianmonitor -U but i don't know if i copied everything, because it wouldn't let me go up the terminal more, how i got here huh, honestly i don't know, i didn't modify any system files, just installed tightvncserver, edited it xstartup file, then installed nload, mariadb, apache2, mysql, php, and downloaded and extracted nextcloud and then edited user.ini and php.ini files, btw are you from slovenia, because you have a slovenian name, i'm from koper log
Werner Posted August 26, 2020 Posted August 26, 2020 Log might be incomplete. Please increase the buffer sice of your terminal application and retry. You could also redirect the output into a file.
markonjak Posted August 28, 2020 Author Posted August 28, 2020 Sorry for not replying, had some other stuff to do, anyway here's the complete log https://justpaste.it/2f037
Werner Posted August 29, 2020 Posted August 29, 2020 No worries 30685 BOARD=z28pro 30686 BOARD_NAME="Z28 PRO" 30687 BOARDFAMILY=rockchip64 30688 BUILD_REPOSITORY_URL=https://github.com/armbian/build 30689 BUILD_REPOSITORY_COMMIT=31b56af4-dirty 30690 VERSION=5.90 Anyway, this is quite some output, will take a bit more to dig through... Edit: At line 12625 this Z28 thing occuring the first time. Edit2: Any chance that you could dig your dpkg.log for stuff that happened before Sat 15 Aug 2020 07:49:32 PM CEST?
markonjak Posted August 29, 2020 Author Posted August 29, 2020 I really don't know how this happened and how it is running, but now it's not lagging anymore, it works normally, here's the dpkg_log dpkg_log
Igor Posted August 29, 2020 Posted August 29, 2020 linux-buster-root-z28pro Strange why this package was installed. Could be something with repository ... Have you used armbian-config for kernel switching? P.S. Ja, Ljubljana 1
markonjak Posted August 29, 2020 Author Posted August 29, 2020 No, i didn't, but i remember that i was following a guide for installing nextcloud and i added a repository, i think it was for php named ondrej something, but then nextcloud didn't work and i got an error when i tried to update, so i manually removed ondrej repository, but i don't recalling removing any of the official loaded repositories
Igor Posted August 31, 2020 Posted August 31, 2020 12 minutes ago, markonjak said: Any idea if i can fix this? apt purge linux-buster-root-z28pro apt install linux-buster-current-root-orangepi3 1
markonjak Posted August 31, 2020 Author Posted August 31, 2020 Thanks, is there any risk that the os crashes and is unable to boot?, because i just set a server and don't want to do it all again
markonjak Posted August 31, 2020 Author Posted August 31, 2020 Oh ok, but weird how it works, when the image is made for z28?, thanks for the help and it's cool that armbian vas made by slovenians, btw how do you even make these images/os when a new board comes out, do you adjust the stock debian or ubuntu images for the hardware on the board, how much time do you spend making an image then testing and optimizing?
Igor Posted September 1, 2020 Posted September 1, 2020 9 hours ago, markonjak said: Oh ok, but weird how it works, when the image is made for z28? This is a result of some package relations anomaly, broken package ... not completely sure. If we don't know why it occurred its difficult to cure. But its fixable 9 hours ago, markonjak said: do you adjust the stock debian or ubuntu images No. We don't touch those images at all. We build images with the same packages relations which is why image is compatible. https://wiki.debian.org/Debootstrap https://github.com/armbian/build/blob/master/lib/debootstrap.sh#L140 + other scripts to make a final build 9 hours ago, markonjak said: how much time do you spend making an image then testing and optimizing? A lot. Every day. But at least testing is getting more and more automatised. 9 hours ago, markonjak said: you and your team must know a lot about hardware and programming Yes, we are deep into this, most of people are highly experienced, working or worked in embedded development, hardware design or similar. 9 hours ago, markonjak said: made by slovenians I can only claim starting it, being the ass who is pushing things around, while people involved in making it are from all over. We are also inter-dependent from larger Linux community. Not so much with Debian or other distributions. They are mainly focused to user space. 2
markonjak Posted September 1, 2020 Author Posted September 1, 2020 Cool, i tried purging z28pro and then installing the orange pi 3 image but it says package not found, tried with root and it's the same
Solution Igor Posted September 1, 2020 Solution Posted September 1, 2020 Sorry, this way: apt install linux-buster-root-current-orangepi3
Recommended Posts