Comments (10)
561d5e883d86:/$ curl http://localhost:8080
<!doctype html><title>HTTP Status 404 – Not Found</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>
HTTP Status 404 – Not Found
Type Status Report
Message Not found
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/9.0.8
561d5e883d86:/$from cloud-portal.
Can you post the log file of the Spring boot application? It seems like there was a problem creating the Spring context. My guess is that the connection to the MongoDB is not working properly. It would also be helpful to get your Docker compose configuration file here (please remove any passwords, secrets, etc.).
from cloud-portal.
I just created a docker image from this configuration
mongodb:
image: mongo:3.4.10
volumes:
- /opt/cloud-portal/data:/data/db
tomcat:
image: chrisipa/cloud-portal-server:latest
links:
- mongodb
ports:
- 80:8080
- 443:8443
volumes:
- /opt/cloud-portal/logs:/opt/tomcat/logs
environment:
- 'APPLICATION_TITLE=My Cloud Portal'
- 'APPLICATION_ADMIN_GROUP=my-admin-group'
- 'ENCRYPTOR_SECRET=my-encryptor-secret'
- 'LDAP_BASE_DN=dc=my,dc=domain'
- 'LDAP_GROUP_ATTRIBUTE=memberOf'
- 'LDAP_LOGIN_ATTRIBUTE=userPrincipalName'
- 'LDAP_PASSWORD=my-ldap-password'
- 'LDAP_PRINCIPAL=cn=my-admin-user,ou=users,dc=my,dc=domain'
- 'LDAP_URL_STRING=ldap://my-ldap-server-1:389,ldap://my-ldap-server-2:389'
- 'LDAP_USER_SEARCH_FILTER=(objectClass=inetOrgPerson)'
- 'MAIL_FROM=[email protected]'
- 'MAIL_CC=[email protected]'
- 'MAIL_HOST=my-mail-server'
- 'MAIL_SEND=true'
- 'MONGO_DB_URI=mongodb://mongodb:27017/cloud-portal'
from cloud-portal.
Can you please attach the cloud-portal.log file here?
from cloud-portal.
I found the location for Cloud-portal/logs but there are no logs inside the folder.
from cloud-portal.
I think now I know what could be the problem. Please make sure to create a underprivileged user to run the cloud portal container. Also make sure that this user must be the owner of the cloud portal root folder:
/opt/cloud-portal
See this url as a reference:
from cloud-portal.
I followed the above doc and added right permissions.. but still it did not work...
from cloud-portal.
Can you post the output of the following command here?
docker-compose logs tomcat
from cloud-portal.
So did you gave up or does everything work as expected?
from cloud-portal.
I gave up.. I tried all possible ways and it wont work.. Sorry :)
from cloud-portal.
Related Issues (20)
- Optimize mobile view
- Add SAML2 integration for SSO
- Add custom error pages for JSP
- Add toPrettyString() method for POJOs
- Add full text search for provisioning log items
- Add customer specific variable groups
- Integrate Packer image build service
- Optimize password handling
- Modularize application parts to use them separately
- Create self service for managing SSL certificates
- Create self service for managing DNS entries
- Catch blocking bootstrap scripts HOT 2
- Detail Instruction about installation Cloud-Portal HOT 3
- Check if switch to 3rd party terraform esxi provider is possible
- Add Vagrantfile to show the configuration of the VM
- Add Vagrantfile to show example configuration for VM
- Add Vagrantfile to demonstrate example configuration of VM
- Hide Windows Server passwords in Terraform log
- Check if switch to 3rd party Ansible provisioner is possible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-portal.