-
Notifications
You must be signed in to change notification settings - Fork 25
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
called with an Error: { AdapterError: Unexpected error from database adapter: relation "public.block" does not exist #19
Comments
And If I follow the
|
hello, @Alex99y. |
Hello @mingjiahui ! I'm sorry, the project is no longer being maintained. Try this:
|
Yes, I'm using Docker, and I'm sure the parameters are in accordance with docker-compose.yaml to set up. And I'll try as you suggest, Thanks again! |
Hi @Alex99y, I've tried as you suggest, but it's doesn't work for me. Could you please have a look? my docker-compose.yaml file:
and my appconfig.json file: |
@mingjiahui do you tried to run sails before init.sh? |
Yes, I did. and the project can run normally except for explore. |
@mingjiahui what is not working in the explorer?. It is giving you an error? Or it is not updating the front end? |
@Alex99y When I execute the |
@mingjiahui the problem might be in the sails-postgresql adapter. I'm sorry that I couldn't help with this. You need to check why the adapter is not connecting to the database, maybe need to be updated to the last version. Do you know if Sails has been connected to the database successfully?. That is because sails should create the database models after start. |
@Alex99y okay, but thank you all the same!~~ |
please,I want know which port that the server is running at |
Hi, I encountered the following error, could you please tell me how to solve it? Thank you in advance.
I changed the
appconfig.json
like this:{ "email": { "admin":"[email protected]", "auth": { "user": "[email protected]", "pass": "password" }, "service": "Gmail", "emailVerification": 1 }, "database": { "adapter": "sails-postgresql", "user": "airmed", "password": "LYbAWCErGttRsP9y", "port": "5432", "host": "localhost", "database": "airmed" }, "session": { "name": "sails.sid", "secret": "secretKey", "redis": { "url": "redis://: [email protected]:6379/15", "host": "127.0.0.1", "port": 6379, "pass": "redisPassword", "db": 15 } }, "ipfs": { "host":"127.0.0.1", "port":"5001" } }
database:{... "user": "airmed", "password": "LYbAWCErGttRsP9y" ...}
is this right?Everything else is normal.
The text was updated successfully, but these errors were encountered: