Skip to Content
Menu
This question has been flagged
3 Replies
6645 Views

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.

Avatar
Discard
Author Best Answer

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.

Avatar
Discard

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

Best Answer

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


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

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
1
Oct 24
1143
0
Dec 23
1300
2
May 23
3387
0
Apr 21
1866
1
Jun 20
3844