Hello guys,
I got problem which I am trying to fix few days. Some of applications like Bitwarden, Diaspora, Mastodon I can’t install. I tried reinstall YunoHost, but I am getting same errors (descripted bellow). I think problem could be in server core settings. But I am really newbie in this. So, let’s go look at it. I give you all important information, if you need something else, just ask for it.
Bitwarden
First installation of Bitwarden was done correctly. Then I uninstall app via administration UI and try to install again (because I got some small problems during using of Bitwarden, so I decided to reinstall - not important). Then I am getting error: An error occurred inside the app installation script.
Tried install on: digitalfiles.eu/bitwarden
Bitwarden Error Log:
2020-06-03 17:22:03,437: WARNING -
2020-06-03 17:22:04,941: WARNING - error: failed to run custom build command for `libsqlite3-sys v0.17.3`
2020-06-03 17:22:04,943: WARNING -
2020-06-03 17:22:04,943: WARNING - Caused by:
2020-06-03 17:22:04,945: WARNING - process didn't exit successfully: `/var/www/bitwarden/build/target/release/build/libsqlite3-sys-cf64304ead3e1c6b/build-script-build` (exit code: 1)
2020-06-03 17:22:04,945: WARNING - --- stdout
2020-06-03 17:22:04,946: WARNING - cargo:rerun-if-env-changed=SQLITE_MAX_VARIABLE_NUMBER
2020-06-03 17:22:04,946: WARNING - cargo:rerun-if-env-changed=SQLITE_MAX_EXPR_DEPTH
2020-06-03 17:22:04,966: WARNING - TARGET = Some("x86_64-unknown-linux-gnu")
2020-06-03 17:22:04,967: WARNING - OPT_LEVEL = Some("3")
2020-06-03 17:22:04,968: WARNING - HOST = Some("x86_64-unknown-linux-gnu")
2020-06-03 17:22:04,986: WARNING - CC_x86_64-unknown-linux-gnu = None
2020-06-03 17:22:04,987: WARNING - CC_x86_64_unknown_linux_gnu = None
2020-06-03 17:22:04,997: WARNING - HOST_CC = None
2020-06-03 17:22:05,013: DEBUG - + ynh_exit_properly
2020-06-03 17:22:05,013: WARNING - CC = None
2020-06-03 17:22:05,014: DEBUG - + local exit_code=101
2020-06-03 17:22:05,014: WARNING - CFLAGS_x86_64-unknown-linux-gnu = None
2020-06-03 17:22:05,040: DEBUG - + '[' 101 -eq 0 ']'
2020-06-03 17:22:05,053: WARNING - CFLAGS_x86_64_unknown_linux_gnu = None
2020-06-03 17:22:05,077: DEBUG - + trap '' EXIT
2020-06-03 17:22:05,077: WARNING - HOST_CFLAGS = None
2020-06-03 17:22:05,078: DEBUG - + set +o errexit
2020-06-03 17:22:05,078: WARNING - CFLAGS = None
2020-06-03 17:22:05,091: DEBUG - + set +o nounset
2020-06-03 17:22:05,092: WARNING - CRATE_CC_NO_DEFAULTS = None
2020-06-03 17:22:05,092: DEBUG - + sleep 0.5
2020-06-03 17:22:05,094: WARNING - DEBUG = Some("false")
2020-06-03 17:22:05,100: WARNING - CARGO_CFG_TARGET_FEATURE = Some("fxsr,mmx,sse,sse2")
2020-06-03 17:22:05,121: WARNING - running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-DSQLITE_CORE" "-DSQLITE_DEFAULT_FOREIGN_KEYS=1" "-DSQLITE_ENABLE_API_ARMOR" "-DSQLITE_ENABLE_COLUMN_METADATA" "-DSQLITE_ENABLE_DBSTAT_VTAB" "-DSQLITE_ENABLE_FTS3" "-DSQLITE_ENABLE_FTS3_PARENTHESIS" "-DSQLITE_ENABLE_FTS5" "-DSQLITE_ENABLE_JSON1" "-DSQLITE_ENABLE_LOAD_EXTENSION=1" "-DSQLITE_ENABLE_MEMORY_MANAGEMENT" "-DSQLITE_ENABLE_RTREE" "-DSQLITE_ENABLE_STAT2" "-DSQLITE_ENABLE_STAT4" "-DSQLITE_SOUNDEX" "-DSQLITE_THREADSAFE=1" "-DSQLITE_USE_URI" "-DHAVE_USLEEP=1" "-DSQLITE_HAVE_ISNAN" "-o" "/var/www/bitwarden/build/target/release/build/libsqlite3-sys-a41dd642da51f0fe/out/sqlite3/sqlite3.o" "-c" "sqlite3/sqlite3.c"
2020-06-03 17:22:05,124: WARNING - cargo:warning=cc: internal compiler error: Killed (program cc1)
2020-06-03 17:22:05,149: WARNING - cargo:warning=Please submit a full bug report,
2020-06-03 17:22:05,149: WARNING - cargo:warning=with preprocessed source if appropriate.
2020-06-03 17:22:05,150: WARNING - cargo:warning=See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
2020-06-03 17:22:05,150: WARNING - exit code: 4
2020-06-03 17:22:05,151: WARNING -
2020-06-03 17:22:05,169: WARNING - --- stderr
2020-06-03 17:22:05,169: WARNING -
2020-06-03 17:22:05,186: WARNING -
2020-06-03 17:22:05,187: WARNING - error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-DSQLITE_CORE" "-DSQLITE_DEFAULT_FOREIGN_KEYS=1" "-DSQLITE_ENABLE_API_ARMOR" "-DSQLITE_ENABLE_COLUMN_METADATA" "-DSQLITE_ENABLE_DBSTAT_VTAB" "-DSQLITE_ENABLE_FTS3" "-DSQLITE_ENABLE_FTS3_PARENTHESIS" "-DSQLITE_ENABLE_FTS5" "-DSQLITE_ENABLE_JSON1" "-DSQLITE_ENABLE_LOAD_EXTENSION=1" "-DSQLITE_ENABLE_MEMORY_MANAGEMENT" "-DSQLITE_ENABLE_RTREE" "-DSQLITE_ENABLE_STAT2" "-DSQLITE_ENABLE_STAT4" "-DSQLITE_SOUNDEX" "-DSQLITE_THREADSAFE=1" "-DSQLITE_USE_URI" "-DHAVE_USLEEP=1" "-DSQLITE_HAVE_ISNAN" "-o" "/var/www/bitwarden/build/target/release/build/libsqlite3-sys-a41dd642da51f0fe/out/sqlite3/sqlite3.o" "-c" "sqlite3/sqlite3.c" with args "cc" did not execute successfully (status code exit code: 4).
2020-06-03 17:22:05,188: WARNING -
2020-06-03 17:22:05,204: WARNING -
2020-06-03 17:22:05,209: WARNING -
2020-06-03 17:22:05,611: DEBUG - + type -t ynh_clean_setup
2020-06-03 17:22:05,612: DEBUG - + ynh_clean_setup
2020-06-03 17:22:05,612: DEBUG - + ynh_clean_check_starting
2020-06-03 17:22:05,612: DEBUG - + '[' -n '' ']'
2020-06-03 17:22:05,612: DEBUG - + '[' -n '' ']'
2020-06-03 17:22:05,612: DEBUG - + exit 1
2020-06-03 17:22:05,738: ERROR - Could not install bitwarden: An error occurred inside the app installation script
Diaspora, Mastodon
I cannot install this apps. During the installation I am getting error: "Could not complete the operation ‘Install the ‘diaspora/mastodon’ app’."
Tried to install on: diaspora.slovak.digital / mastodon.slovak.digital
Diaspora Error Log:
2020-06-03 17:50:54,028: DEBUG - + APP=diaspora
2020-06-03 17:50:54,028: DEBUG - + KEY=checksum__var_www_diaspora_diaspora_config_database.yml
2020-06-03 17:50:54,028: DEBUG - + VALUE=1da57de43174f67547724d4d5ac4cd82
2020-06-03 17:50:54,028: DEBUG - + python2.7 -
2020-06-03 17:50:54,129: DEBUG - + [[ checksum__var_www_diaspora_diaspora_config_database.yml =~ ^(unprotected|skipped)_ ]]
2020-06-03 17:50:54,129: INFO - [########+++++++++++.] > Precompile assets...
2020-06-03 17:50:54,130: DEBUG - + '[' -n '' ']'
2020-06-03 17:50:54,130: DEBUG - + unset backup_file_checksum
2020-06-03 17:50:54,131: DEBUG - + echo '[########+++++++++++.] > Precompile assets...'
2020-06-03 17:50:54,131: DEBUG - + source ./bundle_app
2020-06-03 17:50:54,131: DEBUG - ++ pushd /var/www/diaspora/diaspora
2020-06-03 17:50:54,131: DEBUG - /var/www/diaspora/diaspora /var/cache/yunohost/from_file/diaspora_ynh-c27edb1f7dfa90afb239ff568d0651472bf06968/scripts
2020-06-03 17:50:54,131: DEBUG - ++ sudo -u diaspora /bin/bash --login
2020-06-03 17:50:54,432: DEBUG - ruby-2.4.9 - #gemset created /var/www/diaspora/.rvm/gems/ruby-2.4.9@diaspora
2020-06-03 17:50:55,034: DEBUG - ruby-2.4.9 - #generating diaspora wrappers.........
2020-06-03 17:50:55,236: DEBUG - Using /var/www/diaspora/.rvm/gems/ruby-2.4.9
2020-06-03 17:51:11,069: DEBUG - Successfully installed bundler-1.17.3
2020-06-03 17:51:11,070: DEBUG - Parsing documentation for bundler-1.17.3
2020-06-03 17:51:11,071: DEBUG - Installing ri documentation for bundler-1.17.3
2020-06-03 17:51:11,071: DEBUG - Done installing documentation for bundler after 14 seconds
2020-06-03 17:51:11,071: DEBUG - 1 gem installed
2020-06-03 17:51:11,372: DEBUG - Configuring Bundler for production environment and postgresql database.
2020-06-03 17:51:11,372: DEBUG - $ bin/bundle config --local jobs 1
2020-06-03 17:51:11,974: DEBUG - You are replacing the current local value of jobs, which is currently nil
2020-06-03 17:51:11,974: DEBUG - $ bin/bundle config --local with postgresql
2020-06-03 17:51:12,275: DEBUG - You are replacing the current local value of with, which is currently nil
2020-06-03 17:51:12,275: DEBUG - $ bin/bundle config --local without test:development
2020-06-03 17:51:12,576: DEBUG - You are replacing the current local value of without, which is currently nil
2020-06-03 17:51:12,577: DEBUG - $ bin/bundle config --local path vendor/bundle
2020-06-03 17:51:12,777: DEBUG - You are replacing the current local value of path, which is currently nil
2020-06-03 17:51:12,778: DEBUG - $ bin/bundle config --local frozen true
2020-06-03 17:51:12,978: DEBUG - You are replacing the current local value of frozen, which is currently nil
2020-06-03 17:51:12,979: DEBUG - $ bin/bundle config --local disable_shared_gems true
2020-06-03 17:51:13,179: DEBUG - You are replacing the current local value of disable_shared_gems, which is currently nil
2020-06-03 17:51:13,180: DEBUG - Bundler configured! Please run 'bin/bundle install' now.
2020-06-03 17:51:16,993: DEBUG - Fetching source index from https://gems.diasporafoundation.org/
2020-06-03 17:51:17,207: DEBUG - Fetching source index from https://rubygems.org/
2020-06-03 17:52:10,893: WARNING - /bin/bash: line 4: 22118 Killed bin/bundle install --full-index --with=postgresql
2020-06-03 17:52:11,078: DEBUG - + ynh_exit_properly
2020-06-03 17:52:11,079: DEBUG - + local exit_code=137
2020-06-03 17:52:11,079: DEBUG - + '[' 137 -eq 0 ']'
2020-06-03 17:52:11,079: DEBUG - + trap '' EXIT
2020-06-03 17:52:11,079: DEBUG - + set +o errexit
2020-06-03 17:52:11,079: DEBUG - + set +o nounset
2020-06-03 17:52:11,079: DEBUG - + sleep 0.5
2020-06-03 17:52:11,581: DEBUG - + type -t ynh_clean_setup
2020-06-03 17:52:11,581: DEBUG - + ynh_clean_setup
2020-06-03 17:52:11,582: DEBUG - + '[' 0 -eq 1 ']'
2020-06-03 17:52:11,582: DEBUG - + exit 1
2020-06-03 17:52:11,598: ERROR - Could not install diaspora: An error occurred inside the app installation script
Mastodon Error Log:
2020-06-03 18:26:58,627: DEBUG - /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.10.8/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi.patch...
2020-06-03 18:26:58,627: DEBUG - OK
2020-06-03 18:26:58,627: DEBUG - Running git apply with
2020-06-03 18:26:58,627: DEBUG - /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.10.8/patches/libxml2/0004-libxml2.la-is-in-top_builddir.patch...
2020-06-03 18:26:58,628: DEBUG - OK
2020-06-03 18:26:58,628: DEBUG - Running git apply with
2020-06-03 18:26:58,629: DEBUG - /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.10.8/patches/libxml2/0005-Fix-infinite-loop-in-xmlStringLenDecodeEntities.patch...
2020-06-03 18:26:58,629: DEBUG - OK
2020-06-03 18:26:58,629: DEBUG - Running 'configure' for libxml2 2.9.10... OK
2020-06-03 18:26:58,630: DEBUG - Running 'compile' for libxml2 2.9.10...
2020-06-03 18:26:58,633: DEBUG - To see why this extension failed to compile, please check the mkmf.log which can
2020-06-03 18:26:58,633: DEBUG - be found here:
2020-06-03 18:26:58,633: DEBUG -
2020-06-03 18:26:58,633: DEBUG - /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0-static/nokogiri-1.10.8/mkmf.log
2020-06-03 18:26:58,634: DEBUG -
2020-06-03 18:26:58,634: DEBUG - extconf failed, uncaught signal 9
2020-06-03 18:26:58,634: DEBUG -
2020-06-03 18:26:58,634: DEBUG - Gem files will remain installed in
2020-06-03 18:26:58,637: DEBUG - /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/gems/nokogiri-1.10.8 for
2020-06-03 18:26:58,638: DEBUG - inspection.
2020-06-03 18:26:58,638: DEBUG - Results logged to
2020-06-03 18:26:58,639: DEBUG - /var/www/mastodon/live/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0-static/nokogiri-1.10.8/gem_make.out
2020-06-03 18:26:58,639: DEBUG -
2020-06-03 18:26:58,639: DEBUG - An error occurred while installing nokogiri (1.10.8), and Bundler cannot
2020-06-03 18:26:58,639: DEBUG - continue.
2020-06-03 18:26:58,639: DEBUG - Make sure that `gem install nokogiri -v '1.10.8' --source
2020-06-03 18:26:58,639: DEBUG - 'https://rubygems.org/'` succeeds before bundling.
2020-06-03 18:26:58,639: DEBUG -
2020-06-03 18:26:58,639: DEBUG - In Gemfile:
2020-06-03 18:26:58,640: DEBUG - health_check was resolved to 4.0.0.pre, which depends on
2020-06-03 18:26:58,640: DEBUG - rails was resolved to 5.2.4.1, which depends on
2020-06-03 18:26:58,640: DEBUG - actioncable was resolved to 5.2.4.1, which depends on
2020-06-03 18:26:58,640: DEBUG - actionpack was resolved to 5.2.4.1, which depends on
2020-06-03 18:26:58,640: DEBUG - actionview was resolved to 5.2.4.1, which depends on
2020-06-03 18:26:58,640: DEBUG - rails-dom-testing was resolved to 2.0.3, which depends on
2020-06-03 18:26:58,640: DEBUG - nokogiri
2020-06-03 18:27:04,656: DEBUG - + ynh_exit_properly
2020-06-03 18:27:04,665: DEBUG - + local exit_code=5
2020-06-03 18:27:04,665: DEBUG - + '[' 5 -eq 0 ']'
2020-06-03 18:27:04,666: DEBUG - + trap '' EXIT
2020-06-03 18:27:04,666: DEBUG - + set +o errexit
2020-06-03 18:27:04,666: DEBUG - + set +o nounset
2020-06-03 18:27:04,667: DEBUG - + sleep 0.5
2020-06-03 18:27:05,293: DEBUG - + type -t ynh_clean_setup
2020-06-03 18:27:05,293: DEBUG - + ynh_clean_setup
2020-06-03 18:27:05,293: DEBUG - + ynh_clean_check_starting
2020-06-03 18:27:05,293: DEBUG - + '[' -n '' ']'
2020-06-03 18:27:05,293: DEBUG - + '[' -n '' ']'
2020-06-03 18:27:05,294: DEBUG - + exit 1
2020-06-03 18:27:05,366: ERROR - Could not install mastodon: An error occurred inside the app installation script
YunoHost server specs:
Hardware: VPS on Vultr.com (55GB SSD; 1 CPU; 2048 MB RAM; 2TB Brandwich)
Operating System: Debian 9 x64 (stretch)
YunoHost Version: 3.8.4.6 (stable)
Access to server via: Webadmin; Server console; SSH
Special context or particular tweaking on YunoHost instance? No.
Succesfully installed apps: NextCloud; Seafile; PeerTube; WordPress; Etherpad; PixelFed; Tiny Tiny RSS; RSS Bridge; Rainloop; Write Freely; Searx; phpMyAdmin; Lstu; Monitorix;
Maybe this apps could be in conflict with other apps. You can also compare why I can install this apps and cannot install Bitwarden, Diaspora or Mastodon. That is the reason why I am listing them here.
If anything comes to your mind, just write it down. It doesn’t matter if you think it is important or not. Every idea could help or bring new look at problem.
Thank you.