Odoo12: err on setting remote database to be at amazon RDS
I have odoo installed on my machine. I want the database to be connected to amazon RDS. I created the postgreSQL database on RDS and edited the conf file as follows:
; This is the password that allows database operations:
admin_passwd = MYADMINPASSWD
db_host = DATABASE-NAME.cAbC7aXWw6aE.us-east-2.rds.amazonaws.com
db_port = 5432
db_user = ODOO12
db_password = ODOO12PASSWORD
addons_path = /opt/odoo12/odoo/addons,/opt/odoo12/odoo-custom-addonsenter
The above does not work, and I get the following err:
Internal Server Error The server encountered an internal error and was
unable to complete your request. Either the server is overloaded or
there is an error in the application.
Edit:
When I go to RDS AWS log err file it shows the following message at the moment odoo attempts to connect to database:
ERROR: relation "ir_module_module" does not exist at character 28
2019-02-17 23:33:47 UTC:XXXXX.virtua.com.br(XXXX):odoo12@odoo12:[20563]:STATEMENT: SELECT latest_version FROM ir_module_module WHERE name='base'
database rds odoo
add a comment |
I have odoo installed on my machine. I want the database to be connected to amazon RDS. I created the postgreSQL database on RDS and edited the conf file as follows:
; This is the password that allows database operations:
admin_passwd = MYADMINPASSWD
db_host = DATABASE-NAME.cAbC7aXWw6aE.us-east-2.rds.amazonaws.com
db_port = 5432
db_user = ODOO12
db_password = ODOO12PASSWORD
addons_path = /opt/odoo12/odoo/addons,/opt/odoo12/odoo-custom-addonsenter
The above does not work, and I get the following err:
Internal Server Error The server encountered an internal error and was
unable to complete your request. Either the server is overloaded or
there is an error in the application.
Edit:
When I go to RDS AWS log err file it shows the following message at the moment odoo attempts to connect to database:
ERROR: relation "ir_module_module" does not exist at character 28
2019-02-17 23:33:47 UTC:XXXXX.virtua.com.br(XXXX):odoo12@odoo12:[20563]:STATEMENT: SELECT latest_version FROM ir_module_module WHERE name='base'
database rds odoo
add a comment |
I have odoo installed on my machine. I want the database to be connected to amazon RDS. I created the postgreSQL database on RDS and edited the conf file as follows:
; This is the password that allows database operations:
admin_passwd = MYADMINPASSWD
db_host = DATABASE-NAME.cAbC7aXWw6aE.us-east-2.rds.amazonaws.com
db_port = 5432
db_user = ODOO12
db_password = ODOO12PASSWORD
addons_path = /opt/odoo12/odoo/addons,/opt/odoo12/odoo-custom-addonsenter
The above does not work, and I get the following err:
Internal Server Error The server encountered an internal error and was
unable to complete your request. Either the server is overloaded or
there is an error in the application.
Edit:
When I go to RDS AWS log err file it shows the following message at the moment odoo attempts to connect to database:
ERROR: relation "ir_module_module" does not exist at character 28
2019-02-17 23:33:47 UTC:XXXXX.virtua.com.br(XXXX):odoo12@odoo12:[20563]:STATEMENT: SELECT latest_version FROM ir_module_module WHERE name='base'
database rds odoo
I have odoo installed on my machine. I want the database to be connected to amazon RDS. I created the postgreSQL database on RDS and edited the conf file as follows:
; This is the password that allows database operations:
admin_passwd = MYADMINPASSWD
db_host = DATABASE-NAME.cAbC7aXWw6aE.us-east-2.rds.amazonaws.com
db_port = 5432
db_user = ODOO12
db_password = ODOO12PASSWORD
addons_path = /opt/odoo12/odoo/addons,/opt/odoo12/odoo-custom-addonsenter
The above does not work, and I get the following err:
Internal Server Error The server encountered an internal error and was
unable to complete your request. Either the server is overloaded or
there is an error in the application.
Edit:
When I go to RDS AWS log err file it shows the following message at the moment odoo attempts to connect to database:
ERROR: relation "ir_module_module" does not exist at character 28
2019-02-17 23:33:47 UTC:XXXXX.virtua.com.br(XXXX):odoo12@odoo12:[20563]:STATEMENT: SELECT latest_version FROM ir_module_module WHERE name='base'
database rds odoo
database rds odoo
edited Feb 19 at 15:21
Alan Alves
asked Feb 12 at 21:09
Alan AlvesAlan Alves
11
11
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The problem appear to be at creation of database. While I did not solve the problem I find a work around, by first creating the database locally, backing it up, use the back up to create database directly on RDS. Those are the step I've taken:
- Set back the config file to point the database to local server
- Start odoo and create the dabase locally
- Backup the database generating a zip file
- Extract and keep the 'dump.sql'
- Execute the 'dump.sql' into RDS using the follwoing code:
psql --host=your_database_instase.XXXXX.us-east-2.rds.amazonaws.com --port=5432 --username=your_user_name --password -f /home/my_user/Downloads/odoobackup/dump.sql
- Set the config file to point the amazon RDS again.
- Restart the server and everything should be fine!
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1405011%2fodoo12-err-on-setting-remote-database-to-be-at-amazon-rds%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The problem appear to be at creation of database. While I did not solve the problem I find a work around, by first creating the database locally, backing it up, use the back up to create database directly on RDS. Those are the step I've taken:
- Set back the config file to point the database to local server
- Start odoo and create the dabase locally
- Backup the database generating a zip file
- Extract and keep the 'dump.sql'
- Execute the 'dump.sql' into RDS using the follwoing code:
psql --host=your_database_instase.XXXXX.us-east-2.rds.amazonaws.com --port=5432 --username=your_user_name --password -f /home/my_user/Downloads/odoobackup/dump.sql
- Set the config file to point the amazon RDS again.
- Restart the server and everything should be fine!
add a comment |
The problem appear to be at creation of database. While I did not solve the problem I find a work around, by first creating the database locally, backing it up, use the back up to create database directly on RDS. Those are the step I've taken:
- Set back the config file to point the database to local server
- Start odoo and create the dabase locally
- Backup the database generating a zip file
- Extract and keep the 'dump.sql'
- Execute the 'dump.sql' into RDS using the follwoing code:
psql --host=your_database_instase.XXXXX.us-east-2.rds.amazonaws.com --port=5432 --username=your_user_name --password -f /home/my_user/Downloads/odoobackup/dump.sql
- Set the config file to point the amazon RDS again.
- Restart the server and everything should be fine!
add a comment |
The problem appear to be at creation of database. While I did not solve the problem I find a work around, by first creating the database locally, backing it up, use the back up to create database directly on RDS. Those are the step I've taken:
- Set back the config file to point the database to local server
- Start odoo and create the dabase locally
- Backup the database generating a zip file
- Extract and keep the 'dump.sql'
- Execute the 'dump.sql' into RDS using the follwoing code:
psql --host=your_database_instase.XXXXX.us-east-2.rds.amazonaws.com --port=5432 --username=your_user_name --password -f /home/my_user/Downloads/odoobackup/dump.sql
- Set the config file to point the amazon RDS again.
- Restart the server and everything should be fine!
The problem appear to be at creation of database. While I did not solve the problem I find a work around, by first creating the database locally, backing it up, use the back up to create database directly on RDS. Those are the step I've taken:
- Set back the config file to point the database to local server
- Start odoo and create the dabase locally
- Backup the database generating a zip file
- Extract and keep the 'dump.sql'
- Execute the 'dump.sql' into RDS using the follwoing code:
psql --host=your_database_instase.XXXXX.us-east-2.rds.amazonaws.com --port=5432 --username=your_user_name --password -f /home/my_user/Downloads/odoobackup/dump.sql
- Set the config file to point the amazon RDS again.
- Restart the server and everything should be fine!
answered Feb 19 at 15:31
Alan AlvesAlan Alves
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1405011%2fodoo12-err-on-setting-remote-database-to-be-at-amazon-rds%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown