Comments (21)
@SeyZ @vladimir-yuldashev
Ok i think i got it!
there is a ":" char in my DB password and it's conflicting with the DATABASE_URL format in the .env
DATABASE_URL=mysql://root:password@localhost:3306/dbname
BTW lumber -V keep returning 1.0.1
Thank you guys for your help!
from lumber.
I have the same issue trying to connect to remote database on heroku
from lumber.
Hey @vladimir-yuldashev and @eibrahim !
Thanks for report! The version 1.0.3
fixes the issue and is available :) Can you upgrade the version of your lumber and try again with the option --ssl
?
$ lumber generate --ssl
To upgrade your lumber-cli package:
$ npm update -g lumber-cli
Feel free to reopen the issue if you still have the problem.
from lumber.
Now I get:
(node:11416) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'dbName' of undefined (node:11416) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
from lumber.
worked for me once i added the --ssl flag. thanks.
from lumber.
@eibrahim It did not work for me.
from lumber.
This is not working with remote DB for me neither, works only localhost.
error: 💀 Ouch, cannot connect to the database 💀
from lumber.
@SeyZ current version is 1.0.1, can't find version 1.0.3, how did u get it?
from lumber.
Hey @rosatof here on NPM: https://www.npmjs.com/package/lumber-cli
You can upgrade using [sudo] npm update -g lumber-cli
from lumber.
Hey @SeyZ ,
Thank you for your answer.
I did run npm install/update -g lumber-cli
which installed [email protected].
But lumber -V
keep returning 1.0.1 andlumber generate --ssl
leads to cannot connect DB message.
My Credentials are valid since they are used by an other framework.
Any leads ?
from lumber.
@rosatof lumber -V
seems having an old information. It should be 1.0.4
from lumber.
Any idea about the DB connection issue ?
from lumber.
@rosatof Can you show you console output with hided passwords?
from lumber.
@rosatof Can you try to upgrade our lumber-cli with this command:
npm install -g lumber-cli@latest
?
Then lumber --version
should respond with 1.0.4
. Then, I think your issue will be fixed.
from lumber.
I tried with different version of node, same result...
▶ npm install -g lumber-cli@latest
/Users/rosatof/.nvm/versions/node/v6.2.0/bin/lumber -> /Users/rosatof/.nvm/versions/node/v6.2.0/lib/node_modules/lumber-cli/index.js
/Users/rosatof/.nvm/versions/node/v6.2.0/lib
└── [email protected]
~
▶ lumber -V
1.0.1
~
▶ lumber --version
1.0.1
Mac OSX with NVM, NPM 3.10.2, node 6.2.0 also tried node 4.2
from lumber.
I have same problem and I'm already update.
from lumber.
@aldieemaulana do you have :
char in your user database or password database?
from lumber.
@SeyZ No,
``
sudo lumber generate --ssl
[sudo] password for aldieemaulana:
Enter your database connection details and then your admin interface will be automatically generated.
? What's the database type? mysql
? What's the database name? lumberfirst
? What's the database hostname? localhost
? What's the database port? 3306
? What's the database user? root
? What's the database password? [optional] *********
? Choose a project name: lumberfirst
? What's your email address? [email protected]
? Choose a password: *********
error: 💀 Ouch, cannot connect to the database 💀
``
from lumber.
@aldieemaulana try 127.0.0.1 instead of localhost
from lumber.
@vladimir-yuldashev It still same, still not work with same error.
from lumber.
@aldieemaulana You are using --ssl
option but you specify localhost
as the database hostname. Are you sure?
from lumber.
Related Issues (20)
- test-panel docker-compose app fails to start with a sequelize exception
- All of the feature links are broken(not found) on your github homepage HOT 1
- Lumber generate error: MongoError: value too large to reduce
- Extending rich text editor HOT 1
- There is no images inside https://docs.forestadmin.com/documentation/reference-guide/models HOT 1
- PostgreSQL, Generate a new backend application -> Error HOT 3
- DATABASE_URL hard-coded in docker-compose.yml HOT 1
- view codes does not work HOT 2
- Stuck Connection to database HOT 7
- Lumber not allowing pass-through of dialectOptions for Sequelize HOT 13
- (node:89175) UnhandledPromiseRejectionWarning: SequelizeAccessDeniedError: Access denied for user 'samplebloguser'@'localhost' (using password: YES) at ConnectionManager.connect HOT 1
- CRUD on mongoose dataBase with deepObject display "[Object, Object]" HOT 2
- Are there any plans to use typescript for Lumber, or are there any options there HOT 4
- Lumber generate fails with "Your database looks empty! Please create some collections before running the command."
- The automated release is failing 🚨
- Using GraphQL API as datasource
- Fix audit vulnerabilities for lodash and handlebars HOT 2
- Consider adding the Z SELinux label to the docker installation script
- throw new TypeError('Router.use() requires a middleware function but got a ' + gettype(fn))
- Error
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 lumber.