You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solution: Check /etc/hosts, make sure the server has the correct IP for itself
Issue:
Web browser gives a 401 after logging into the web interface
/usr/local/appian/logs/tomcat-stdOut.log shows:
2024-12-18 16:59:03,464 [https-jsse-nio-8443-exec-8] ERROR com.appiancorp.security.cors.CorsFilter - CORS request
rejected; invalid request from {IP} to /auth javax.servlet.ServletException: CORS origin denied:
{IP}:8443 is not on the allowed list:[] or the request path does not match the allowed paths.
Solution: Access the web interface using an FQDN rather than by IP. Do this by editing your client's hosts file.
# As root:
su appian
# As appian:
# LAUNCH INSTALLER
./setupLinux64_appian-22.3.270.0.bin
This will install Appian on your computer. Continue? [n/Y] y
Where do you want to install Appian? [/home/appian/appian] /usr/local/appian
Install with these settings? [y/n] y
# As appian:
# REGISTER APPIAN ENVIRONMENT
cd $APPIAN_HOME/_admin/_scripts/configure
bash configure.sh
1 - Create or select repository
2 - Create initial backup of Appian installation
B - Back
Q - Quit
> 1
Enter path of repository directory
B - Back
Q - Quit
> /home/appian/appian_poc
1 - Change repository
2 - Create initial backup of Appian installation
3 - Register an environment
4 - Validate configurations
5 - Deploy configurations
6 - Tools
B - Back
Q - Quit
> 3
Existing environments: None
Add a new environment
B - Back
Q - Quit
> poc
1 - Change repository
2 - Create initial backup of Appian installation
3 - Register an environment
4 - Validate configurations
5 - Deploy configurations
6 - Tools
B - Back
Q - Quit
> Q
# As appian:
# TEST CONNECTING TO THE DATABASE
psql -h appian.example.us-west-1.rds.amazonaws.com -p 1473 -U appian appian
# As appian:
# ENCODE THE DATABASE PASSWORD FOR THE CONFIG FILE
cd $APPIAN_HOME/_admin/_scripts/configure
bash configure.sh
1 - Change repository
2 - Create initial backup of Appian installation
3 - Register an environment
4 - Validate configurations
5 - Deploy configurations
6 - Tools
B - Back
Q - Quit
> 6
Select a tool to execute
1 - Encode passwords for use in data source configuration
2 - Configure Tomcat clustering by specifying a node name
B - Back
Q - Quit
> 1
Enter the password to encode for use in datasource configuration
B - Back
Q - Quit
> <ENTER DATABASE PASSWORD>
<COPY THE RETURNED ENCODED VALUE>
# As appian:
# CONFIGURE DATABASE CONNECTION
cd /home/appian/appian_poc/conf/
vim tomcatResources.xml.poc
# As appian:
# CONFIGURE DATABASE CONNECTOR PLUGIN
mkdir /home/appian/appian_poc/tomcat/apache-tomcat/lib dir
cd /home/appian/appian_poc/tomcat/apache-tomcat/lib dir
wget https://jdbc.postgresql.org/download/postgresql-42.5.0.jar
# As appian:
# DEPLOY THE CONFIGURED APPLICATION
cd $APPIAN_HOME/_admin/_scripts/configure
bash configure.sh
1 - Change repository
2 - Create initial backup of Appian installation
3 - Register an environment
4 - Validate configurations
5 - Deploy configurations
6 - Tools
B - Back
Q - Quit
> 4
1 - Change repository
2 - Create initial backup of Appian installation
3 - Register an environment
4 - Validate configurations
5 - Deploy configurations
6 - Tools
B - Back
Q - Quit
> 5
Select an environment to deploy the configuration files
1 - poc
B - Back
Q - Quit
> 1
Appian recommends to perform a backup prior to deploying configurations. Would you like to backup Appian now?
1 - Yes
2 - No
B - Back
Q - Quit
> 2
Select the type of deployment to perform on the environment poc
1 - Deploy configurations to Appian
B - Back
Q - Quit
> 1
# As root:
# DEPLOY K3 LICENSE FILE
cp ./k3.lic /usr/local/appian/server/_bin/k/linux64
cd /usr/local/appian/server/_bin/k/linux64
chown appian:appian k3.lic
./k
# Type `\\` to exit if a valid license is shown.
# If the license is valid, the system info will display.
# As root:
# DEPLOY K4 LICENSE FILE
cp k4.lic /usr/local/appian/data-server/engine/bin/q/l64/
cd /usr/local/appian/data-server/engine/bin/q/l64/
chown appian:appian k4.lic
QHOME=.. ./q
# If a valid license is found, there is a one-line message with the timestamp, like so:
'2022.10.05T17:56:31.844 appian.app
# As appian:
# TOMCAT TLS/SSL CONFIGURATION
# See https://crunchify.com/step-by-step-guide-to-enable-https-or-ssl-correct-way-on-apache-tomcat-server-port-8443/
# NOTE: Binding on port 443 is not possible when running as the appian user due to lack of permissions
cd /usr/local/appian/tomcat/apache-tomcat/
keytool -genkey -alias appian_tomcat -keyalg RSA -keystore ./appian_tomcat.keystore
keytool -certreq -keyalg RSA -alias appian_tomcat -file appian_tomcat.csr -keystore appian_tomcat.keystore
vim /usr/local/appian/tomcat/apache-tomcat/conf/server.xml