-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi and other non-x64 platforms #46
Comments
There is no snap for raspberry pi yet. Moved to wekan/wekan#1053 Also see: |
at the moment wekan is only compiled for amd64 |
Yes there is a lot of demand. I would like to add as many other architectures as possible. Meteor usually compiles, it's just that default build options of Meteor don't have architecture names like arm64 added to build file as supported platforms. I also had some problems with fibers on arm64, it could be that Rocket.Chat or others have that already solved. I think there is already snap of Rocket.Chat for other architectures. I would really appreciate your help, pull requests etc in adding support for other architecture. |
@xet7 a bit progress here So before we can move forward:
armhf is probably completely out of the question for now |
On related note, I also noticed that wekan is now using patched node engine, do we have source somewhere for this? I'd probably make sense to build it from source instead, this will make it easy to support other architectures |
Other architectures with Meteor patches at wekan/wekan#1053 (comment) Patched node source is here https://github.com/sandstorm-io/node Newer Meteor 1.6.1 changelog says: "The bundled version of MongoDB used by meteor run in development on 64-bit architectures has been updated to 3.4.10.". Wekan is currently at Meteor 1.6.0.1, there is upgrading issue. It need testing does upgrading work. Main problem with newer MongoDB has been that uploading file produces crash in cfs_gridfs. |
Hmm, maybe here is MongoDB crash fix, I have not tested yet reactioncommerce/reaction#2096 |
Most likely armhf and arm64 does not build yet, I will add fixes later. Thanks to xet7 ! Related #1503, related wekan/wekan-snap#46
It seems architecture build ignore flags do not work and there are also some git errors: https://github.com/wekan/wekan/blob/edge/snapcraft.yaml#L16-L30 |
Now I have a way to build Wekan for Raspberry Pi, arm64 servers and other architectures, anywhere where is Node 8.16.0 and MongoDB 3.6.x or newer available: Wekan Meteor 1.8.1 version is at https://github.com/wekan/wekan master branch. I have tried to make it working at snap core18, but I can't get it working: Current Wekan Snap version is based on devel branch, that has old Meteor 1.6.x version. I would like to delete devel branch, and move Wekan snap to use only master branch, that has newest Meteor 1.8.1. I have already deleted other old branches, because maintaining multiple branches takes huge amount of my time. I would like to build Wekan for all Snap architectures:
And if possible, more architectures if there is Node+MongoDB+NPM for it. Please help by adding pull request to master branch, to make it working. I have tried to get Meteor 1.8.1 working with Snap without any success for many months. |
I can't get newest Wekan working in Snap, I get these errors wekan/wekan#2533 (comment) , can somebody help? |
I can install snapd in my raspberrypi, but can't snap install wekan because error: cannot install "wekan": snap not found.
I have try it for many time but failed.
Could you help me. thanks!
details as follow:
pi@raspberrypi:~ $ sudo apt install snapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
apparmor libapparmor-perl snap-confine squashfs-tools
ubuntu-core-launcher
Suggested packages:
apparmor-profiles apparmor-profiles-extra apparmor-utils
The following NEW packages will be installed:
apparmor libapparmor-perl snap-confine snapd squashfs-tools
ubuntu-core-launcher
0 upgraded, 6 newly installed, 0 to remove and 17 not upgraded.
Need to get 4,233 kB/4,955 kB of archives.
After this operation, 27.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.zju.edu.cn/raspbian/raspbian stretch/main armhf snapd armhf 2.21-2 [4,233 kB]
Fetched 4,233 kB in 1s (3,213 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libapparmor-perl.
(Reading database ... 124722 files and directories currently installed.)
Preparing to unpack .../0-libapparmor-perl_2.11.0-3+deb9u2_armhf.deb ...
Unpacking libapparmor-perl (2.11.0-3+deb9u2) ...
Selecting previously unselected package apparmor.
Preparing to unpack .../1-apparmor_2.11.0-3+deb9u2_armhf.deb ...
Unpacking apparmor (2.11.0-3+deb9u2) ...
Selecting previously unselected package snap-confine.
Preparing to unpack .../2-snap-confine_2.21-2_armhf.deb ...
Unpacking snap-confine (2.21-2) ...
Selecting previously unselected package ubuntu-core-launcher.
Preparing to unpack .../3-ubuntu-core-launcher_2.21-2_armhf.deb ...
Unpacking ubuntu-core-launcher (2.21-2) ...
Selecting previously unselected package squashfs-tools.
Preparing to unpack .../4-squashfs-tools_1%3a4.3-3+deb9u1_armhf.deb ...
Unpacking squashfs-tools (1:4.3-3+deb9u1) ...
Selecting previously unselected package snapd.
Preparing to unpack .../5-snapd_2.21-2_armhf.deb ...
Unpacking snapd (2.21-2) ...
Setting up squashfs-tools (1:4.3-3+deb9u1) ...
Processing triggers for systemd (232-25+deb9u2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libapparmor-perl (2.11.0-3+deb9u2) ...
Setting up apparmor (2.11.0-3+deb9u2) ...
Created symlink /etc/systemd/system/sysinit.target.wants/apparmor.service → /lib/systemd/system/apparmor.service.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
diff: /var/lib/apparmor/profiles/.apparmor.md5sums: No such file or directorySetting up snap-confine (2.21-2) ...
Setting up ubuntu-core-launcher (2.21-2) ...
Setting up snapd (2.21-2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.autoimport.service → /lib/systemd/system/snapd.autoimport.service.
Created symlink /etc/systemd/system/timers.target.wants/snapd.refresh.timer → /lib/systemd/system/snapd.refresh.timer.
Created symlink /etc/systemd/system/sockets.target.wants/snapd.socket → /lib/systemd/system/snapd.socket.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.service → /lib/systemd/system/snapd.service.
Processing triggers for systemd (232-25+deb9u2) ...
pi@raspberrypi:~ $ sudo snap install wekan
error: cannot install "wekan": snap not found
pi@raspberrypi:~ $ sudo snap install wekan
error: cannot install "wekan": snap not found
pi@raspberrypi:~ $ snap install
error: access denied (try with sudo)
pi@raspberrypi:~ $ snap list
No snaps are installed yet. Try "snap install hello-world".
pi@raspberrypi:~ $ snap find wekan
The search "wekan" returned 0 snaps
pi@raspberrypi:~ $ snap find Wekan
The search "Wekan" returned 0 snaps
pi@raspberrypi:~ $
pi@raspberrypi:~ $ sudo snap install wekan
error: cannot install "wekan": snap not found
pi@raspberrypi:~ $ sudo snap install wekan --channel=beta
error: cannot install "wekan": snap not found
pi@raspberrypi:~ $ sudo snap install wekan --channel=candidate
error: cannot install "wekan": snap not found
pi@raspberrypi:~ $ sudo snap install wekan --channel=edge
error: cannot install "wekan": snap not found
pi@raspberrypi:~ $
The text was updated successfully, but these errors were encountered: