Hi there
Anyone has some experience to share about the CodiMD app ? Thanks @liberodark for packaging it, is there anything special to be aware of ?
For example I don’t know what kind of ressources it will take, with regard to number of pads, number of users, etc… I plan to run it on a small VPS, but there’s already some stuff on it, so better be sure before clicking “install”
Thanks in advance !
3 Likes
up!
also deeply interested in this
Aaaand I also happen to have client that might be interested in a functionnal package. Maybe i’ll find time to look into it in the months to come !
1 Like
Any news about this subject ? Thx for feedbacks.
The app should be working now - only install and restore (no backup, no upgrade), and we need more tests to makes sures it works on various config…
YunoHost-Apps:master
← Lab-8916100448256:CodiMD-1.6
opened 05:37PM - 09 Mar 20 UTC
Any help (code or test) appreciated right now, be don’t consider this app as stable and ready for production servers.
3 Likes
Hi ! CodiMD fails to install on my Lime2 homeserver… Both stable and testing releases.
I tried several times, without success…
I get this error during compilation:
2093259 DEBUG <s> [webpack.Progress] 96% [0] chunk asset optimization TerserPlugin
2517745 DEBUG
2517750 DEBUG <--- Last few GCs --->
2517754 DEBUG
2517757 DEBUG [12755:0x2f36e50] 633187 ms: Mark-sweep 247.2 (254.8) -> 246.0 (255.3) MB, 3953.8 / 0.0 ms (average mu = 0.165, current mu = 0.072) allocation failure GC in old space requested
2517761 DEBUG [12755:0x2f36e50] 637824 ms: Mark-sweep 247.7 (255.3) -> 246.5 (255.8) MB, 4460.9 / 0.0 ms (average mu = 0.100, current mu = 0.038) allocation failure scavenge might not succeed
2517765 DEBUG
2517769 DEBUG
2517772 DEBUG <--- JS stacktrace --->
2517776 DEBUG
2517780 DEBUG ==== JS stack trace =========================================
2517783 DEBUG
2517787 DEBUG 0: ExitFrame [pc: 0xeab900]
2517791 DEBUG Security context: 0x295ce8b5 <JSObject>
2517794 DEBUG 1: B(aka B) [0x341e0775] [/var/www/codimd/node_modules/terser/dist/bundle.min.js:~1] [pc=0x36177608](this=0x20ec0279 <undefined>)
2517798 DEBUG 2: G(aka G) [0x31b7f4a1] [/var/www/codimd/node_modules/terser/dist/bundle.min.js:~1] [pc=0x21fd5f18](this=0x20ec0279 <undefined>,0x20ec0359 <true>,0x20ec0359 <true>)
2517802 DEBUG 3: De(aka De) [0x31b7f4c1] [/var/www/codimd/node_modules/terse...
2517806 DEBUG
2517809 DEBUG FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
2517922 DEBUG Aborted
2518131 DEBUG error Command failed with exit code 134.
2518134 DEBUG info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2518136 DEBUG + ynh_exit_properly
2518139 DEBUG + local exit_code=134
2518141 DEBUG + '[' 134 -eq 0 ']'
2518145 DEBUG + trap '' EXIT
2518148 DEBUG + set +o errexit
2518150 DEBUG + set +o nounset
2518153 DEBUG + sleep 0.5
2518760 DEBUG + type -t ynh_clean_setup
2518763 DEBUG + ynh_clean_setup
2518765 DEBUG + ynh_clean_check_starting
2518767 DEBUG + '[' -n '' ']'
2518769 DEBUG + '[' -n '' ']'
2518771 DEBUG + exit 1
2518825 ERROR Impossible d’installer codimd : Une erreur est survenue dans le script d’installation de l’application
The full output is available here.
Would it be due to a lack of RAM on my device?
$ free -h
total used free shared buff/cache available
Mem: 1,0Gi 349Mi 201Mi 28Mi 449Mi 604Mi
Swap: 500Mi 138Mi 361Mi
ericg
August 10, 2020, 6:27am
7
1GB of Ram may not be enough. I believe CodiMD needs at least 2 GB of RAM…
Thank you! What about increasing Swap size?
Would it help?