Comments (7)
Oh sorry @lalop !!
Yeah, I finally solved it. There was another container named application in my nginx-proxy-network.
I fixed it by adding an alias to the the fpm-php container for default network.
Sorry for not closing this issue!
from dockerfiles.
Hi,
I wish I'd seen this 6 days ago. I too have had this problem trying to move two Ninja installations to a new server under Docker. I couldn't even get a fresh install happening.
After going crazy thinking it was an Nginx/Proxy/Let's Encrypt issue like I'm sure you did, I discovered tonight that the Docker container with the database is not being seeded and nothing works. There's nothing in any logs anywhere to indicate such an error.
If you want to prove the same thing to yourself, connect to your DB container via
docker exec -it container_db bash
connect to mysql with
mysql -u username -p ninja
it will prompt for password.. change username and database name to suit.
type show tables;
and you will probably find like I did, that it's empty.
The other option which I didn't try yet is dropping back to a previous image version other than latest.
Mega-frustrating.
from dockerfiles.
Hey @ghhv
many thanks for your thoughts. But unfortunately the database-container is running very well.
I guess that my problem is located at the network-layer. As soon as I remove the nginx-proxy-network from webserver-networks, everything's working smoothly.
TBH:
I have absolutely no idea how to solve this one. For me, invoice-ninja is the only image that runs into this error. I will investigate this further and hopefully I will find a solution.
from dockerfiles.
Doh.. that's a shame.. so weird on my end.
As for your Docker-Compose.YML file, you're missing the - VIRTUAL_NETWORK= which should be set to ${NGINXPROXYNETWORK} in the WEB container.
Hopefully that fixes it.
Cheers,
from dockerfiles.
I also have the web port set to something different so that the external proxy port 80 redirects to it. Which will be needed for multiple end points on the same Docker server.
ports:
- 8000:8083
environment:
- VIRTUAL_NETWORK=xxx
- VIRTUAL_PORT=8083
The error you're getting normally means something is not listening at the port expected. See how those changes go.
from dockerfiles.
Maybe adding TRUSTED_PROXIES
to the .env file will help.
http://docs.invoiceninja.com/en/latest/configure.html#using-a-proxy
from dockerfiles.
@Hermsi1337 do you solved your issue ? Can we close this one ?
from dockerfiles.
Related Issues (20)
- Raspberry Pi DB Error HOT 4
- dockerhub page says port 80 is opened, but it's port 9000 fcgi that is opened HOT 10
- Docker in k8s, testing, slow initial page load (including page refresh) HOT 15
- Tax line item not displaying in Totals area of invoice HOT 2
- after upgrade empty white page HOT 2
- Blank screen after upgrade HOT 4
- Permissions Error with Lost+Found Directory HOT 2
- git clone not pulling latest version HOT 6
- Update helm image? HOT 2
- Container startup only works with bind mount; `cp: can't create directory '/var/www/app/storage/app': Permission denied` HOT 5
- Http links requested when visiting a https page HOT 1
- Helm Chart commonLabels vs podLabels
- Database Availability Race Condition during Intialisation
- <user experience> High complexity for a single person small business. HOT 4
- Logo does not load neither on the main page nor on invoices - Docker Version HOT 2
- Cannot log in after the update from 5.8.39 to 5.8.46 HOT 2
- Changes made to env are not updating docker-compose containers HOT 1
- "Plugin 'mysql_native_password' is not loaded" from Docker version v5.8.53 HOT 3
- [SELF-HOSTED] DOCKER - React Web UI Blank screen after White label Purshase and Containers Update . HOT 7
- Enable multiple SMTP for multiple company HOT 2
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 dockerfiles.