Skip to Content
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
6681 Представления

We have V10 Enterprise installed on Ubuntu 16.04 server. If I pull up localhost:8069 I can see the website and dashboard properly. If I pull up the database on another computer on the network with serverip:8069, The site loads and everything works except all of the images show up as a grey camera and slash and the website icon in the home screen dashboard is missing. The entire database is all there still and I can create orders, view customers, etc but cannot see or edit images unless I am on the actual server. When we open Website Admin I get an error " uncaught exception [object Object] :0 Traceback: undefined" 

I have tried reinstalling Odoo, and 'upgrading' the apps that deal with the website and base, and tried creating another database and it is doing the same thing. Is this a permission error somewhere with a folder? Am I missing a setting somewhere within Odoo? Everything was working fine until this past weekend and when I came in on Monday the images were gone and kept having issues with the website loading css.

Аватар
Отменить
Автор Лучший ответ

UPDATE: We ended up with some bad code from a module that did not get installed properly and corrupted the database. We ended up starting fresh with a backup and was able to recover things after resetting permissions to their defaults.

Аватар
Отменить

no need to start fresh - cancel install/uninstall and then remove the wrong module from the server. After restart it should work just fine

Лучший ответ

Just insert this sql statement into postgres and css will load normally.


DELETE FROM ir_attachment WHERE url LIKE '/web/content/%';

Аватар
Отменить
Лучший ответ

grey camera icon is usually seen if the path given for the image is not available in the system.

Plz check if the path given is correct or not.

Also it depends on the web browser

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
окт. 24
1251
0
дек. 23
1379
2
мая 23
3442
0
апр. 21
1888
1
июн. 20
3868