Alfresco not working due to 403 error

cancel
Showing results for 
Search instead for 
Did you mean: 
Aleksandar
Partner

Alfresco not working due to 403 error

Hello,

For some reason the Alfresco is not starting. We can only access the login page of share and activity-app but nothing else.
For example, if we try to open /alfresco it return 403 page. The admin console is inaccessible as well. It shows 403 error page. There is nothing in the tomcat or alfresco's logs.
Screenshot of the network tab:
https://prnt.sc/CQH6wno4NJ1J

In the logs it says that the alfresco.war file is successfully deployed.

More details about the server:
Ubuntu 20.04
Apache 2.4.41
Tomcat 8.5.34
PostgreSQL 11.18


In the webapps of tomcat we have the following files and folders:
root@****:/opt/alfresco/tomcat/webapps# ll
total 748684
drwxrwxrwx 12 tomcat tomcat 4096 Feb 6 12:41 ./
drwxrwxrwx 11 tomcat tomcat 4096 Feb 2 16:43 ../
drwxrwxrwx 3 tomcat tomcat 4096 Feb 2 16:46 ROOT/
drwxrwxrwx 4 tomcat tomcat 4096 Feb 2 16:46 _vti_bin/
-rwxrwxrwx 1 tomcat tomcat 762845 Feb 2 16:46 _vti_bin.war*
drwxrwxrwx 20 root root 4096 Feb 6 12:23 activiti-app/
-rwxrwxrwx 1 root root 275646486 Feb 6 12:17 activiti-app.war*
drwxrwxrwx 10 tomcat tomcat 4096 Feb 2 16:46 alfresco/
-rwxrwxrwx 1 tomcat tomcat 213516163 Feb 2 16:46 alfresco.war*
-rwxrwxrwx 1 tomcat tomcat 198010295 Feb 2 16:46 alfresco.war-1629189171235.bak*
drwxrwxrwx 14 tomcat tomcat 4096 Feb 2 11:42 docs/
drwxrwxrwx 6 tomcat tomcat 4096 Feb 2 11:42 examples/
drwxrwxrwx 5 tomcat tomcat 4096 Feb 2 16:46 host-manager/
drwxrwxrwx 5 tomcat tomcat 4096 Feb 2 16:46 manager/
drwxrwxrwx 5 root root 4096 Feb 6 12:41 process-workspace/
-rwxrwxrwx 1 root root 3080922 Feb 6 12:41 process-workspace.war*
drwxrwxrwx 14 tomcat tomcat 4096 Feb 2 16:47 share/
-rwxrwxrwx 1 tomcat tomcat 75571886 Feb 2 16:46 share.war*
root@****:/opt/alfresco/tomcat/webapps#

The vHost we are using is:
<VirtualHost *:443>
SSLEngine On
Redirect "/" "https://****/process-workspace"
ProxyPreserveHost On
ProxyPass "/activiti-app" "http://localhost:8080/activiti-app"
ProxyPassReverse "/activiti-app" "http://localhost:8080/activiti-app"
ProxyPass "/process-workspace" "http://localhost:8080/process-workspace"
ProxyPassReverse "/process-workspace" "http://localhost:8080/process-workspace"
ProxyPass "/share" "http://localhost:8080/share"
ProxyPassReverse "/share" "http://localhost:8080/share"
# ProxyPass "/share/page/dologin" "http://localhost:8080/share/page/dologin"
# ProxyPassReverse "/share/page/dologin" "http://10.24.26.13:8080/share/page/dologin"
ProxyPass "/alfresco" "http://localhost:8080/alfresco"
ProxyPassReverse "/alfresco" "http://localhost:8080/alfresco"
ProxyPass "/solr" "http://localhost:8983/solr"
ProxyPassReverse "/solr" "http://localhost:8983/solr"

SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt
SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key
# SSLCACertificateFile /etc/ssl/certs/ca-certificates.crt #If using a self-signed certificate, omit this line

ServerAdmin systemgf@****
ServerName .****
ServerAlias www.****

ErrorLog /var/log/apache2/ssl/claims.gf/log/error.log
CustomLog /var/log/apache2/ssl/claims.gf/log/access.log combined
</VirtualHost>