NextcloudPi on a Rock64

one more thing @nachoparker i have seen that there is a partition called log2ram located in /var/tmp that is over their capacity in my filesystem:

root@rock64:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 2.0G 0 2.0G 0% /dev
tmpfs 393M 5.5M 387M 2% /run
/dev/mmcblk0p1 15G 3.5G 11G 26% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs 2.0G 0 2.0G 0% /tmp
> log2ram 50M 50M 740K 100% /var/log
/dev/sda1 147G 28G 120G 19% /media/DataMedia
tmpfs 393M 0 393M 0% /run/user/0

ā€“

this issue sometimes do that if i execute ncp-config script , it cannot write due the directory is full. The way to fix this issue comes to manually delete large files like messages.2.gz or this kind of files. The question is, do you know why this file system has only 50M and if there is anyway to resize or autorotate/delete files to avoid this kind of issues?

thanks!

mmm these are the defult armbian ramlogsā€¦ I wonder what is spamming your logs like that?

In my personal NCP they only take like 20 MiB

woooww just 20MiBā€¦

here I have my TOP 10:

root@rock64:/var/log# du -hsx * | sort -rh | head -10

21M syslog
9.2M messages
6.4M daemon.log
5.2M user.log
4.4M kern.log
732K dpkg.log
612K armhwinfo.log
596K messages.2.gz
360K apt
292K lastlog

special focos in files without compress : syslog and messages to much , dont you think that?

yeahā€¦ can you have a look at whatā€™s spamming the logs? (opening them?)

maybe we can configure stuff to be less spammy, or increase memory, or rotate logs more often. some investigation needed!

Hi!

i have opened messages file and i saw many flapling of interface eth1, which is not connected to anything.

May 20 20:39:57 localhost kernel: [ 1619.997637] rk_gmac-dwmac ff550000.ethernet eth1: Link is Up - 100Mbps/Full - flow control off

May 20 20:40:14 localhost kernel: [ 1637.085810] rk_gmac-dwmac ff550000.ethernet eth1: Link is Down

May 20 20:40:15 localhost kernel: [ 1638.087849] rk_gmac-dwmac ff550000.ethernet eth1: Link is Up - 10Mbps/Half - flow control off

May 20 20:40:15 localhost NetworkManager[739]: <info> [1526848815.7832] device (eth1): link connected

May 20 20:40:18 localhost kernel: [ 1641.093885] rk_gmac-dwmac ff550000.ethernet eth1: Link is Down

May 20 20:40:20 localhost kernel: [ 1643.097942] rk_gmac-dwmac ff550000.ethernet eth1: Link is Up - 10Mbps/Half - flow control off

May 20 20:40:20 localhost NetworkManager[739]: <info> [1526848820.7930] device (eth1): link connected

May 20 20:40:23 localhost kernel: [ 1646.103982] rk_gmac-dwmac ff550000.ethernet eth1: Link is Down

May 20 20:40:25 localhost kernel: [ 1648.108019] rk_gmac-dwmac ff550000.ethernet eth1: Link is Up - 10Mbps/Half - flow control off

May 20 20:40:25 localhost NetworkManager[739]: <info> [1526848825.8036] device (eth1): link connected

May 20 20:40:28 localhost kernel: [ 1651.114073] rk_gmac-dwmac ff550000.ethernet eth1: Link is Down

May 20 20:40:30 localhost kernel: [ 1653.118204] rk_gmac-dwmac ff550000.ethernet eth1: Link is Up - 10Mbps/Half - flow control off

May 20 20:40:30 localhost NetworkManager[739]: <info> [1526848830.8131] device (eth1): link connected

May 20 20:40:33 localhost kernel: [ 1656.124157] rk_gmac-dwmac ff550000.ethernet eth1: Link is Down

May 20 20:40:35 localhost kernel: [ 1658.128249] rk_gmac-dwmac ff550000.ethernet eth1: Link is Up - 10Mbps/Half - flow control off

May 20 20:40:35 localhost NetworkManager[739]: <info> [1526848835.8230] device (eth1): link connected

May 20 20:40:38 localhost kernel: [ 1661.134272] rk_gmac-dwmac ff550000.ethernet eth1: Link is Down

May 20 20:40:40 localhost kernel: [ 1663.138228] rk_gmac-dwmac ff550000.ethernet eth1: Link is Up - 10Mbps/Half - flow control off

im not sure, why this interface is there if i have only configured eth0ā€¦ :-/
i have executed:

ifconfig eth1 down

and im going to check config of networking file.

not sure why but into /etc/network directory i have not found any file with references to interface eth1ā€¦ :-/
after put interface in state down with command ifconfig I have rebooted and again the interface is thereā€¦ :-/
any clue?

mmm that would require a close look. Maybe create an issue in github?

hi there,
I want to buy a RockPro64 board and donā€™t if NCP is runnig there, too.
thx for the help

The boards have JUST shipped to a small set of ā€œtestersā€ NachoParker has not gotten one of those boards and has not testing NextcloudPi running on the RockPro64 yet. Iā€™ll let him chime in on what his plans are for the Rockpro64.

the board looks good! in any case I would need to own one and we would need armbian support. Time and help would be nice too, because thereā€™s only so much a single person can do

so can I flash the board with the image for the Rock64?
Iā€™m running NCP currently with a Raspberry3b and Iā€™m not happy with the performance.
At the moment I donā€™t know which board to buy. Iā€™m balancing between the RockPro64, Rock64 and Odroid XU4

No, you have to wait for Armbian support.

We support the Rock64 (cheaper) and the Odroid XU4 / HC1 / HC2. Good choices both!

thanks for your help! I think I will wait until RockPro is in stock again.

Hi,

Iā€™m looking to setup my own Rock64 and Nextcloud with 128gb SSD, but not sure if I should get 1gb, 2gb or 4gb memory.

Is there any advantage of getting the bigger memory? or is 1gb enough to run Nextcoud?

Thanks for the advice.

I ran NCP on a RaspberryPi with 1GB. Had no issues. It does ā€œseemā€ to run faster on my Rock64 with 4GB. But the entire board is also faster so itā€™s hard to actually tell if the additional RAM makes a difference.

Iā€™ll let Nacho Parker respond with a definitive answer, but I suggest that NCP will run ā€œbetter or fasterā€ with more RAM. Get as much as you can afford.

Thanks for the answer. Money is not really a problem, it just that I dont want to spend the extra $20 for the 4gb and not taking advantage of it. I will dedicate this board to run NCP only.

I will wait for Nacho Parker answer before I pull the trigger.

Well, you will be perfectly fine with 1GB for NCP. With more RAM you can increase Redis memory, spawn more threads, have bigger ramlogsā€¦ if that is worth the money depends on you :wink:

For a single person or small family, meaning moderate usage, 1GB should be plenty.

Awesome, I think I will just settle with the 1gb and use the extra money to get another board for another project.

Last question, Iā€™m really new to NCP so forgive me, so Iā€™m thinking of using 128gb ssd, can I setup two different accounts(one for me and one for my wife) and sharing the same 128gb, or I need two ssd for each account? or do I need two rcok64 setup for two accounts?

You can both share the SD card. Just create two accounts in Nextcloud

Awesome, thank you.