-
Notifications
You must be signed in to change notification settings - Fork 23
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
Error at startup when migrating from 0.10.10 to 0.10.50 #90
Comments
Hey @pemontabrun, that's a big jump. v0.10.10 used vjsrinath codebase while v0.10.50 uses the (previously named) waterline-orientdb which is pretty much a re-write. Do you have any model definitions? Can you share your config? |
Yes I haven't upgraded since my first PoC so it's been months now. Here is one model:
|
I don't see anything wrong... how does your config looks like? |
Here is what my connection file looks like:
Do you need some other config files? |
Try:
Here's a more complete example: https://github.com/appscot/sails-orientdb#basic-example |
Any luck? |
Please re-open if the answer didn't address the issue. |
Sorry for the delay, I was basically afk these last 2 weeks. |
@pemontabrun, can you please share your connection file? |
Here it is:
With this config file, Sails can't lift correctly and throws the error described in my first message. |
I think I've figured the issue, I'm guessing one of your connections has no associated model definitions, right? I managed to reproduce the error you're getting in f4e6277 and fixed it in 039f5b6 while outputting a warning message: sails-orientdb:connection:warn This connection has no associated collections, the CRUD methods won't work! +0ms Since without collections loaded for a given connection you won't be able to do much with it. You can try this fix by installing the master branch from github: npm i appscot/sails-orientdb |
Hi,
I've recently updated sails-orientdb from 0.10.10 with orientDB 1.7.10 to 0.10.50 with orientDB 2.0.8 and this error shows up when lifting sails:
I have tried both with sails 0.10.x and 0.11.x but the error still remains. Is there something to modify in the config files when migrating from older version?
Thanks,
PE
The text was updated successfully, but these errors were encountered: