diff --git a/scripts/install b/scripts/install index e94a4a1..f79fb3f 100755 --- a/scripts/install +++ b/scripts/install @@ -111,7 +111,7 @@ PORT_LIST=($port_ide $port_preview $port_project $port_data) ynh_script_progression --message="Installing dependencies..." --weight=1 # Install the required version of Java -ynh_install_java --java_version=$java_version --jdk_type=jre +# ynh_install_java --java_version=$java_version --jdk_type=jre ### `ynh_install_app_dependencies` allows you to add any "apt" dependencies to the package. ### Those deb packages will be installed as dependencies of this package. diff --git a/scripts/ynh_mongo_db__2 b/scripts/ynh_mongo_db__2 index 46b2a12..1153dc7 100644 --- a/scripts/ynh_mongo_db__2 +++ b/scripts/ynh_mongo_db__2 @@ -322,10 +322,13 @@ ynh_install_mongo() { # Test mongod to see if it crashes ynh_exec_err /usr/bin/mongod --help - ynh_exec_err /usr/bin/mongosh --help + ynh_exec_err which mongod + ynh_exec_err ldd /usr/bin/mongod + ynh_exec_err ls -al /usr/bin/mongod + # sleep 60 # pkill mongod - ynh_exec_err cat /var/log/mongodb/mongod.conf + # ynh_exec_err cat /var/log/mongodb/mongod.conf ynh_systemd_action --service_name=$mongodb_servicename --action=restart --line_match="aiting for connections" --log_path="systemd" --length=100 --timeout=60