Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hangs on Installation #163

Closed
Bebu1985 opened this issue Aug 30, 2016 · 3 comments
Closed

Hangs on Installation #163

Bebu1985 opened this issue Aug 30, 2016 · 3 comments

Comments

@Bebu1985
Copy link

Hello,

i try to install the application on debian jessie. After starting with node everything comes up. When the dbs schema updates starts the application hangs on the first update. Any solution?

Thanks for your help
Bernhard

@zackurben
Copy link
Contributor

@Bebu1985, do you have an npm log for the install? Can you send it to zack@form.io

@taoyuan
Copy link

taoyuan commented Sep 28, 2016

It seams like in src/db/index.js:

...
498        // No private update was found, check the public location.
499        debug.db('_update:');
500        debug.db(_update);
501        if (_update === null) {
...

debug.db(_update); will output 3.0.5, and _update type is string.

So in line 521

_update(db, config, tools, function(err) {
...
}

throws _update is not a function.

I changed line 501

if (_update === null) {

to

if ((_update === null) || (typeof _update !== 'function')) {

It works.

@zackurben
Copy link
Contributor

This should be fixed with: #185

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants