| Server IP : 104.129.129.72 / Your IP : 216.73.216.229 Web Server : LiteSpeed System : Linux 123answers 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : answe8064 ( 1002) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /opt/installer/apps/ |
Upload File : |
#!/bin/bash
# Add this at the begining of all scripts.
if [ -f "include/startup.sh" ]; then
. include/startup.sh
elif [ -f "../include/startup.sh" ]; then
. ../include/startup.sh
fi
rootDir=$(rootDir)
##Oren Test##
if [[certbot_failed==1]]
then
mv /etc/letsencrypt/live/${CWM_DOMAIN}/fullchain.pem /etc/letsencrypt/live/${CWM_DOMAIN}/cert.pem
sed -i "s|SSLCACertificateFile|#SSLCACertificateFile|" /etc/openproject/addons/apache2/includes/vhost/ssl_ca.conf
fi
##Oren Test##
echo "Downloading OpenProject key and adding to source list" | log
curlDownload https://dl.packager.io/srv/opf/openproject/key
waitOrStop "Failed to download PGP key"
apt-key add key
echo "deb https://dl.packager.io/srv/deb/opf/openproject/stable/11/ubuntu 20.04 main" | tee /etc/apt/sources.list.d/openproject.list
echo "Updating and downloading OpenProject from apt" | log
apt-get update
installPackage openproject
waitOrStop "Failed to install OpenProject"
echo "Setting installation variables and installing OpenProject" | log
cp $rootDir/tweaks/extras/openproject/installer.dat /etc/openproject/
sed -i "s/ServerDomain/${CWM_DOMAIN}/g" /etc/openproject/installer.dat
export DEBIAN_FRONTEND=noninteractive
openproject configure
echo "Adding descriptions" | log
descriptionAppend "OpenProject Web UI: https://${CWM_DOMAIN}"
descriptionAppend "OpenProject default user: admin"
descriptionAppend "OpenProject default password: admin"
tagScript success
exit 0