跳至内容
菜单
此问题已终结
4 回复
7591 查看

Hello everyone, I had a website on odoo.sh and migrated to my own server which is Odoo 12 both the same version but eventhough I have all the permissions on filestore, database and addons right, I am keep getting below error when I try to access that imported database;

Forbidden
You don't have the permission to access the requested resource. It is either read-protected or not readable by the server.

I exported whole database dump with the filestore from odoo.sh and imported it using database manager on my own server so this process was completed without any errors but I cannot figure out how to fix this permission issue since a few days. I appreciate any help. Thanks!

形象
丢弃

This could be due to ownership of the database or tables. Please check the ownership of your database and the tables.

编写者

Hello Sudhir, thanks for your answer. I checked again but the owner is odoo for the database and tables like my test database. Test database is working fine but this one is not. And I see this error on the logs: "ERROR production odoo.sql_db: bad query:" followed by bunch of table names.

编写者

At least is there any other way to export my product including the product pictures and import it to my new server? I tried the exporting from Products page but it's not taking the pictures.

最佳答案

you may try the following:

  1. copy the custom addons folder to the new server

  2. copy the file store to the new server

  3. backup only dump sql and restore it to the new server

  4. in the new server odoo config file, edit the filestore location to the new folder you copied

形象
丢弃
相关帖文 回复 查看 活动
0
11月 19
4131
4
7月 19
8295
0
11月 24
3318
0
5月 24
183
0
9月 23
407