NextCloud on TV Box


Recommended Posts

Hello everyone, and first of all a big THANK YOU @ balbes150 ..!
I have an MX10 that I only want to use to set up a NextCloud server.
I can boot from my SD card that I flashed Armbian_20.07_Rk3328-tv_bullseye_current_5.7.8_desktop.img.xz with rk3328-box.dtb ( maybe i need use rk3328-evb.dtb ?? )

But I can't install NextCloud Server.. :(

Can you tell me if what I want to do is achievable ?
What would be the best img to set up Nextcloud server among bionic, bulleyes, focal, ...? ( first I try focal img but same issue can't install nextcloud server )
Would it be possible to build an img for RK3328 that is only dedicated to setting up a NextCloud Server? ( NextCloudPi OS ? )
Thank you in advance for your answers.. :thumbup:

 

 

Link to post
Share on other sites
Donate and support the project!

1 час назад, MX10.AC2N сказал:

with rk3328-box.dtb ( maybe i need use rk3328-evb.dtb ?? )

This is the correct dtb.

 

1 час назад, MX10.AC2N сказал:

What would be the best img to set up Nextcloud server among bionic, bulleyes, focal, ...?

I don't use this software and have no idea what it requires.

Link to post
Share on other sites

thank you @balbes150 and sorry new user on this forum I can only post one message per day ..
Thank you for confirming the .dtb version to use.
There is a version of NextCloudPi for Rock64 which also uses the RK3328, as NextCloudPi is based on an Armbian I was wondering if there was a way to fit that into the image you built for RK3328 ..

https://ownyourbits.com/downloads/NextCloudPi_Rock64_11-27-20/
Otherwise do you think that since it works with a Rock64 isn't it also possible to run it on an MX10 which has the same technical characteristics ?

Thank again..

Link to post
Share on other sites

@MX10.AC2N I think you are approaching your issue from the wrong perspective.  As balbes already mentioned he "doesn't use this software and has no idea what it requires'.  So essentially asking the same question in a different way isn't likely to get a different answer.

 

You need to understand that the armbian project is about getting the mainline linux (debian and ubuntu distributions) to run on arm SBCs (and luckily that often works on TV boes as well).  Information and support of the thousands of software programs that can then run on debian or ubuntu isn't something that armbian is about.

 

NextCloud is a software product and you want to run that program on your armbian based TV box, which is great, but you should be looking for support from the NextCloud community for support of their product.

 

You mention in your posts NextCloudPI.  I'm not sure why you are going down that particular path.  You should be able to just install NextCloud following their instructions for your chosen distribution (debian or ubuntu).  I have been running nextcloud on one of my amlogic s905w based TX3 mini boxes for over a year using the snap version for my ubuntu bionic install.  It was easy to install, it automatically updates itself and I haven't had to think about it in a long time.  That is exactly what you want from a server based software program.  Now if you ask me what i did over a year ago to get it installed, I will have no recollection, but I just followed the readily available instructions available from nextcloud to get it done - didn't need to post anything to armbian forums to install a generic software product.

Link to post
Share on other sites

Hello, and Thank you @SteeMan indeed I didn't take the good way .. Thank you for your clarification ..
Thanks to your message, I changed my approach and I succeeded starting from  Armbian_20.07_Rk3328-tv_buster_current_5.7.8.img  from @balbes150
and using the snap installations, successfully set up NextCloud on my MX10 (RK3328) ver: 1.0, with LAN access and also WAN via LetsEncrypt and domain name .. I was super delighted ..
But after restarting the box, no more access possible, my setting to have a fixed IP could no longer be used because the box has a different MAC address at each start.
I did some research but it seems that with this Box my problem cannot be solved, I opened the box to check the WifiChip SV6051 P and I could therefore see that it was really not good implemented and especially no longer used since kernel 4.4.
Anyway, I think I'm stuck once again, maybe some of you can advise me on an .img which will allow me to keep the mac address on my TVBOX MX10 marked on the MXQ-RK3328-D4_A motherboard ver: 1.0 Date: 20170713

but I know that this box is not the most suitable for Armbian, however the balbes build works very well, connected by wire, I only have this problem of Wifi which does not work at all and unfortunately this misery with the MAC address which changes at each startup ... Nothing too dramatic in itself but a use of Nextcloud limited to my local network...:(

Thank you all for this superb sharing.
Have a good day..

Link to post
Share on other sites

Hello, and thank you @balbes150 for his great work .. So I have an MX10 Tvbox (MXQ-RK3328-D4_A VER: 1.0 DATE: 20170713) and I was able to install on the Emmc (Armbian_20.07_Rk3328-tv_buster_current_5.7.8.img). It works really well, but I have a problem that I cannot target ... So I made the updates from the firmware of Balbes150, I installed YUNOHOST (great job by the way) and I therefore find myself with my MX10 transformed into a web server (Nextcloud, Jellyfin, Rainloop, ...) it works nickel ... I therefore invested in a 500GB SSD to put on the box ..

And here are the concerns that arrive ... My SSD is recognized as a SCSI disk ?? finally I can build it, assemble it, no worries .. On the other hand, when I start to transfer files to my SSD via sftp after a while everything freezes and I have to unplug the electric adapter. I only managed to reproduce this problem by running a memtester with 2500M but I had to be at the limit of available RAM. Everything works fine, I monitor the values of use CPU, RAM, .. during a transfer and until the moment of freezing, and everything is fine the CPU has never overloaded, and on the RAM it uses between 25 and 35%, everything is good but suddenly I lose everything, freezes ... I wonder if this could not be a power problem, I run the box with its original adapter which gives 5V and 2.5A, shouldn't an adapter with a little more amperage, since I plugged in an SSD drive via a usb3 to SATA adapter ??

I hope to succeed in running this damn machine, but I still look at other SOCs, and I take this opportunity to ask your opinion, which machine is the most suitable today for ARMBIAN in web-server mode for personal use. I looked at the M1 Station but there is only 2G of RAM left to sell, and I also looked at the really interesting Odroid HC4 with its integrated SATA ports but only USB2 and multimedia playback level I do not not really know ..?

What do you think ?

And thank you again for everything you do ..

Link to post
Share on other sites
47 минут назад, MX10.AC2N сказал:

Armbian_20.07_Rk3328-tv_buster_current_5.7.8.img

This is an old image, the latest images already use kernel 5.10.19.

 

52 минуты назад, MX10.AC2N сказал:

for ARMBIAN in web-server mode for personal use

Sorry, but I don't know what the hardware (resource) requirements are for your use case. You write about large amounts of data copying and I do not understand how this is related to the Web server.

I would not rush to buy Amlogic equipment now, new models based on rk3566 \ 68 should be released soon (developers already have real samples of such models and they are already working on their support).  :)

Link to post
Share on other sites

Thanks for your reply, indeed I am using an old kernel, the last one I could find tag RK3328-tv box download to MEGA but maybe I could use another version ?? Is there a way to update the kernel directly on the box without having to reflash ?
Indeed my concern of "freezing" has nothing to do with the web server use that I make of my box, that's why I thought that maybe the electric adapter would be too weak with its 2,5A ..? (but I'm not sure)

Maybe it's a RAM problem but we can't really fully test the RAM under armbian if I understood correctly ..
I am attaching a copy of my "armbianmonitor -u" me it does not speak to me too much but maybe that will help.
http://ix.io/2Rda
Thanks again for your attention.

Link to post
Share on other sites
14 часов назад, MX10.AC2N сказал:

I am using an old kernel, the last one I could find tag RK3328-tv box download to MEGA but maybe I could use another version ??

Firefly Station M1 is rk3328, I tried these images on MX10, all the main hardware is working. You can try installing a new kernel (rockchip64) from the network repositories, but look carefully at the settings, the startup data may change (DTB, mount parameters, etc.).

 

14 часов назад, MX10.AC2N сказал:

Indeed my concern of "freezing" has nothing to do with the web server use that I make of my box, that's why I thought that maybe the electric adapter would be too weak with its 2,5A ..? (but I'm not sure)

Check the heating again, the TV boxes have a disgusting cooling system, it needs to be reworked, only after that the device starts working under load.

 

13 часов назад, MX10.AC2N сказал:

So far I have only seen 2 SOCs with this rk3566 / 68 (geniatech and rock64) are there other manufacturers?

Yes, there is, but everything has its time.  :)

Link to post
Share on other sites
7 hours ago, balbes150 said:

Firefly Station M1 is rk3328, I tried these images on MX10, all the main hardware is working. You can try installing a new kernel (rockchip64) from the network repositories, but look carefully at the settings, the startup data may change (DTB, mount parameters, etc.).

 

Check the heating again, the TV boxes have a disgusting cooling system, it needs to be reworked, only after that the device starts working under load.

 

Yes, there is, but everything has its time.  :)

Thanks @balbes150 ,

I am going to test your image for M1 station, however I have to stay under Buster to allow me to set up https://github.com/YunoHost

Concerning the cooling of CPU, I add another bigger heatsink to the heatsink, it's a bit of a hack but during my check with htop the CPU never heats too much (~40-45°C)
I don't think the "freezes" is due to the overheating of the proc ..

I will test this Station m1 image on SD-Card and I will see ..
Thanks again..

Link to post
Share on other sites

Hi,

I tried

Armbian_21.05.0-trunk_Station-m1_hirsute_current_5.10.19_xfce_desktop.img

Armbian_21.05.0-trunk_Station-m1_bullseye_current_5.10.19.img

It boot but there are errors and therefore does not work on my MX10.. :(

is there any need to make a modification once we have flashed .img on a sd card ..?

Thanks

 

Link to post
Share on other sites
11 часов назад, MX10.AC2N сказал:

is there any need to make a modification once we have flashed .img on a sd card ..?

I tested without making any changes. There are a large number of different sets of equipment and components, which are all called MX10. Perhaps you have an option with bad components. I found that on my instance, everything works fine with increased memory and frequency parameters, but this does not mean that it will work for everyone.

Link to post
Share on other sites