Comments (15)
Might want to take a look at this Automattic/mongoose#5399
from pisignage-server.
Make sure mongod is running and url is correct in config/env/development.js
from pisignage-server.
Hi,
Here is the result of **sudo service mongod status**
_jp@jp-vbox:~/pisignage-server$ sudo service mongod status
● mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2018-11-05 12:57:08 CET; 7min ago
Docs: https://docs.mongodb.org/manual
Main PID: 5257 (mongod)
CGroup: /system.slice/mongod.service
└─5257 /usr/bin/mongod --config /etc/mongod.conf
nov 05 12:57:08 jp-vbox systemd[1]: Started MongoDB Database Server.
nov 05 12:57:08 jp-vbox mongod[5257]: 2018-11-05T12:57:08.535+0100 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'_
And here is the content of the development.js file
_'use strict';
module.exports = {
env: 'development',
https: false,
port: process.env.PORT || 3000,
mongo: {
uri: 'mongodb://localhost/pisignage-server-dev'
}
};_
I don't know what is wrong :-/
Thanks for your help
from pisignage-server.
Hi jphoubion,
Have you solve this issue? I got the same problem
Thanks
from pisignage-server.
Hi shihabulmilah ,
Unfortunatly no, so i gave up for the moment.
I was waiting for an answer from the developer.
from pisignage-server.
I'm waiting too :D
from pisignage-server.
Hello,
The error is because mongodb connection is not going through and db variable is not valid. in server.js can you change the line
mongoose.connect(config.mongo.uri, config.mongo.options);
to have an error callback as shown and see what error is thrown?
mongoose.connect(config.mongo.uri, config.mongo.options, function(err) {
if (err)
console.log(err);
});
from pisignage-server.
Hi colloqi,
I have tried but still not working, got same error
Thanks
from pisignage-server.
Can you share what error you are getting in step mongoose.connect ?
from pisignage-server.
Hi Colloqi,
and this is the configuration server.js
Thanks
from pisignage-server.
Best way is one of us have a look at your server, if that is possible, please get in touch at [email protected]
from pisignage-server.
Okay, that possible remote and check my server, send email to [email protected]?
from pisignage-server.
Yes
from pisignage-server.
in config/env/ directory, can you replace "localhost" with 127.0.0.1:27017 in files development.js, production.js and try? The error could be due to DNS failure
from pisignage-server.
More specifically Automattic/mongoose#5399 (comment)
from pisignage-server.
Related Issues (20)
- Uploading a larger quantity of images results in a Multer error HOT 1
- Support for VAST tag
- MongoDB Process not running HOT 5
- How to prevent Raspberry to send "TV on" HDMI signal HOT 1
- New android app does not work on opensource server HOT 4
- Bypass of Paid Services via Information Leak
- Rss feed not working HOT 1
- Support for 4k content HOT 1
- Switching between 2 playlists with Custom Layouts has odd results HOT 2
- Feedparser missing from the latest pull HOT 3
- Raspberry HOT 1
- Group daily reboot time does not set correctly HOT 1
- websocket invalid Frame header HOT 3
- Chown /data HOT 2
- show IP address of the player in players tab
- Running in docker: inital assets exist
- docker-compose : mongo not running HOT 4
- Allow starting pisignage from a different directory than where it was checked out
- Authentication issues HOT 1
- wait-for-it.sh hardcoded to mongo:27017
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 pisignage-server.