تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
3282 أدوات العرض

I have internal server error when I'm trying to access the Odoo.
I need to update/uninstall a module but I don't have access to settings page because I'm getting internal error.
I tried to deploy the module with this command: odoo deploy /path
But I don't have "base_import_module" installed. I'm also unable to instal this "base_import_module" module.

What to do next? Help!

Odoo13

الصورة الرمزية
إهمال
أفضل إجابة

Hi Andrzej,

You can install the module using "-i module_name" parameter in the command line.

Ex:

python3 odoo-bin --addons addons -i base_import_module

This will install the module. But first, you should investigate the internal server error and try to fix it.

الصورة الرمزية
إهمال
الكاتب

I know exactly what caused internal server error. But I couldn't get to the setting to upgrade or uninstall the module.

Does "odoo-bin" or that flag exist in the package installed version of Odoo?

الكاتب أفضل إجابة

I finally managed to upgrade my desired module. To do this I kinda "hacked" a HTTP request.

I went to my second testing server, opened developer tools in the browser and copied a request that is send when user clicks an "Upgrade" button in the Apps.

Then I simply did the reverse in my production website. From the browser I've sent copied request with all the headers and body. And by miracle it worked!

الصورة الرمزية
إهمال

Superb. Nice to see you found workaround and make it work.

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مايو 15
3691
2
أغسطس 25
2200
1
يوليو 25
749
1
أغسطس 25
1150
0
مايو 25
1258