Closed frju365 closed 4 years ago
Is this issue still relevant now that we used "pre-built" archives ?
Depend... is wekan for ARM ? Is there enough RAM and CPU for such app ? Perhaps add condition to prevent it from being installed on ARM, or at least warn the user.
Moreover, you added Enh tag... not sure it's only enh but perhaps bug.
That's a tough choice :thinking:
How is the status of wekan for ARM? I try to install it but it says that mongodb-org stuff is not installed. Could it work properly on a Olimex lime1 (512Mb Ram)?
I think it could work yes, but we need to find a fix for the mongodb thing. I looked it up quickly the other day and saw that there might me ARMhf deb repo somewhere that could be used ... but I did not dig that further for now.
Feel free to have look, basically it's a matter of finding out what to put in the /etc/apt/sources.list thing to get mongodb to install on an ARM device, so thats ~relatively easy to test I guess :s
(Maybe @zamentur has more info, I think he had a look at this at some point)
From what I've seen 64bits ARMv8 and greater are now officially supported by mongo as stated in
https://github.com/Barryrowe/mongo-arm
https://jira.mongodb.org/browse/SERVER-1811
But I think ARM64 is quite recent, and I know olimex Lime 1 with ARM Cortex-A8 is 32bits.
On archlinux for ARM the depository holds a version 3... that does not support ARM32. It could however be used for ARM64.
On raspbian depository, it seems like there are several versions including a
mongodb_2.4.14-4_armhf.deb
that could fit.
https://archive.raspbian.org/raspbian/pool/main/m/mongodb/
If any later version is required, there are several tutorial and links listed here https://stackoverflow.com/questions/34569404/install-mongodb-version-3-raspberry-pi-2 including this tutorial https://www.clarenceho.net/2015/12/building-mongodb-30x-for-arm-armv7l.html ITs author later said
Arch Linux ARM latest build of MongoDB 3.2.0 seems to be working fine. Except that the default storage engine was compiled as WiredTiger although there is no 32-bit support from WiredTiger. You will need to add parameter --storageEngine=mmapv1
So first I'll try to install mongoDB from RaspBian Second I'll try to install mongoDB from arch linux ARM depository with the parameter --storageEngine=mmapv1 And third with the above cited tutorial.
I did some testing. In fact mongoDB on raspbian repo is the same than that of debian repo : version 2.4.10 for armhf. The meta-package is called mongodb Installation of wekan_ynh fails because it defines dependency to mongodb-org packages that correspond to version 3.2 that is not available for arm 32 bits (armhf?) : http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.2
I have some questions :
Some update on this. We discussed this topic a few weeks ago IRL with @Gredin67. What we found is that :
So to summarize : it's a complete mess, but there is hope ..?
Seeing how this is complicated, honestly right now I would say : let's just add a check at the beginning of the install script that the architecture is amd64 (or i386 as long as we use Mongo 3.2) and cancel the install otherwise... This is clearly disappointing but except if we have mongo wizards somewhere ready to help us, we can't maintain support on ARM just ourselves on the long run I think :/
Then once Wekan announce some support for ARM64/AARCH64 we can see if that works, provided we have people to test it. But in any case I would consider supporting ARMHF a dead end :|
Closing the issue, because Wekan doesn't support ARM so far :s
Added a PR to propose an arch check at the beginning of the install : https://github.com/YunoHost-Apps/wekan_ynh/pull/27
Hey @frju365 @alexAubin @Gredin67 @zamentur,
it seems like Wekan now supports ARM (at least Raspberry Pi). I believe we should update the script to remove the check, if it does work ?
Install script is already updated: https://github.com/YunoHost-Apps/wekan_ynh/blob/3be3f1d7290b534f7689222645a42c06f3103589/scripts/install#L38-L43
Wekan is only provided for arm64
Wekan is only provided for arm64
(You mean x86) But now it seems it has support for arm, see the link I provided
Hi, no he means arm64. There is support for x86, x64, ARM64 (raspberry 3) but not for ARMv7 (older raspberry)
Le 31 décembre 2019 10:49:37 GMT+01:00, Locness notifications@github.com a écrit :
Wekan is only provided for arm64
(You mean x86) But now it seems it has support for arm, see the link I provided
-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/YunoHost-Apps/wekan_ynh/issues/1#issuecomment-569899350
-- Envoyé de /e/ Mail.
Oh ok, I understand. But can't we update the script to have it work on arm64 ?
Oh ok, I understand. But can't we update the script to have it work on arm64 ?
Done since https://github.com/YunoHost-Apps/wekan_ynh/pull/44 9 july 2019
Hm, i have a pi 3 and it does not seem to work. I'll find if there is a way to update the apps list.
Still getting "Sorry, but this app can only be installed on a x86, 64 bits machine :("
Can you provide the full installation logs ?
OK, what is the result for uname -a
?
Linux locness.hopto.org 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
But I think the problem comes from here : https://github.com/YunoHost-Apps/wekan_ynh/blob/3be3f1d7290b534f7689222645a42c06f3103589/scripts/install#L40 It's checking if the architecture is arm, which is arm64 AND armv7 I guess ? So I'm pretty sure we should just detect armv7 isntead of arm
$architecture
is initialized with https://github.com/YunoHost-Apps/wekan_ynh/blob/master/scripts/ynh_detect_arch__2
So your YunoHost is detected as arm not arm64. So maybe your YunoHost is 32 bits instead of 64 bits.
What is the result for: lscpu
Wait, just saw "armv7l" in the previous comment input. But it's a raspberry pi 3, and seeing your comment raspberry pi 3s are arm64
..
Anyway, lscpu
:
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Model: 4
Model name: ARMv7 Processor rev 4 (v7l)
CPU max MHz: 1200.0000
CPU min MHz: 600.0000
BogoMIPS: 38.40
Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
Seems that arm 7 is 32 bit, it's why you can't install wekan_ynh
BTW: I'm not a Raspberry Pi nor Linux specialist
Well, ok :/
Hello, Meteor is not for arm for now as that is written when I install it : "Meteor only supports i686 and x86_64 for now."
log of installation (a part--the end):