-
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
Fix install + bump to version 1.6 #19
Fix install + bump to version 1.6 #19
Conversation
It still fails for me :((
|
Do you take into account this issue ? #20 |
No, not in this PR. I worked around this issue locally on my server by blocking it from installing newer versions of yarn. as described in my comment here : #17 (comment) |
Shouldn't we add that fix, if it's simply a matter of removing an argument ? |
I haven't found this argument in the yunohost app script. It is in CodyMD install script : https://github.com/codimd/server/blob/master/bin/setup I'm no yunohost expert. Maybe there is a way to patch the setup script on the fly on yunohost side. But I think this should be patched upstream in CodyMD repository |
Randomly passing by, tested on Yunohost unstable in a LXC and the install seem to work ... Would love to see this app flagged as working in the app catalog |
Naively started a build on the dev CI, will see how it goes (after pixelfed finishes 😅 ) https://ci-apps-dev.yunohost.org/jenkins/view/aleks/job/codimd_ynh%20(aleks)/ |
Would love to get it working 😅 |
It failed :( |
Sounds like a silly issue about manifest.json default value for is_public ... restarted a build after small fix (c.f. previous commit) |
Alright, there was some stupid crazy bug in the add_extra_apt_repo ... The --pure-lockfile bug was in fact due to yarn not being installed at all (so it kept some old version like 0.2 which didnt had this option). Last build is at least installable : https://ci-apps-dev.yunohost.org/jenkins/view/aleks/job/codimd_ynh%20(aleks)/7/console There's a 502 error in some more advanced test, probably because this is a heavy app that may take some time to load. Should probably add some options to "systemd_action start" to wait until the service is ready as for other apps. But at least the app should be installable... (well modulo the fact that it seems to take as much CPU as mining 10 bitcoins just to build web assets lulz...) |
I'm taking the liberty to yolomerge this because the app is still flagged as "inprogress" for now on the applist anyway... Thanks @Lab-8916100448256 for the initial work on the PR |
And not working anyway, so it's a good thing your merged it. After one or two thousand warnings (while building web assets), install succeed :) 🎉 Thanks a lot @alexAubin and @Lab-8916100448256 🙂 |
Install fails with a raspberry pi (or any ARM architecture ?) Full log, with lots of warnings/error messages: https://vps.lapineige.fr/privatebin/?6d61a804ee927e9c#+b7zubYX+KX+Kp5nu4EcMonXJWqY8+bWvAfv/F1WH5M= |
@lapineige Huuuu wokay, naively that looks like some temporary network issue ? x_X |
Same issue on second try :( |
More details with debug mode, third try: https://vps.lapineige.fr/privatebin/?9ee1ae1c80744b39#t/M31zHuhuF2NBJ1Mr4OxKeSqsArPPihLc/NZrYh7LM= |
Alright, totally different error :
It sounds like it needs something called PhantomJS and that let me think it not available for arm ... Maybe there's a slight chance we just need to install this manually somehow but I doubt If that's confirmed that it's not available on arm, we should add a check for architecture at the beginning of the install script then.. |
It seems not to be available officially as a prebuilt package. I don't know if we should try to compile it on-the-fly (on ARM it might takes forever…), or use one of these repository (with what kind of security risk ?) and maybe mark the support as experimental, or just disable ARM support (which will especially exclude all Raspberry Pi and Internet Cube owners… a lot of Yunohost users). |
I was faced with the fact that I can't install this app today, I dug a bit, especially on here: Medium/phantomjs#433 (comment) Turns out there is a package on the raspbian reps, it won't work on a headless server so I tried to define the variable in bash, it failed, so I tried to add it to /etc/environment which failed too, I get this error
Is there any method to edit the script and add the variable for Qt before installing? |
This is to upgrade to CodiMD version 1.6, issue #18
Tested on a Debian 9 virtual machine with yunohost 3.6.5.3.
CodiMD version 1.6 is supposed to still be compatible with nodejs version 8 but there was an error of a dependency complaining about nodejs version being too old. So I had to bump node version
The first commits are reverted. they were attempts at pinning yarn version to an older release to work around the issue with yarn error
no such option: --pure-lockfile
.I failed at doing that in the script. I'm new to yunohost API
Instead I did it with a file on the server, as described in #17 (comment)