Community mailing list archives

community@mail.odoo.com

Re: [9.0] After moving odoo-site to other domain site broken - no images

by
Odoocker
- 11/30/2015 09:03:18
Thanks Paul this was very helpful.

Your first view was correct - the second one we could not find here.

/home/[user]/.local/share/Odoo/filestore/[dbName]/...

or

/opt/[user]/.local/share/Odoo/filestore/[dbName]/...

Thanks a lot

As the site was using a proxy I guess that the fact that that [proxy-user] was different from the odoo-user resulted in the images not showing up but when duplicating the site to a subdomain actually the images showed up.

It looks like those filestore folders don't get deleted too when you delete a database, which will result in a full 

On Mon, Nov 30, 2015 at 8:04 PM, Paul Catinean <paulcatinean@gmail.com> wrote:
The attachments (such as attachments added to reports as well as the website images I suspect) are stored in the user folder that is running the Odoo server: home-folder/.local/share/Odoo/filestore

If one would run with another user or move the database to another server they cannot be accessed anymore

This might be the case but I cannot swear by it as I have not checked it personally

On Mon, Nov 30, 2015 at 2:52 PM, Cocopapa <cocopapa@gmail.com> wrote:
3 Questions Paul I still have:

Where do you find that attachment folder when everything gets stored in the database in 9?

When all sites are running from the same odoo are they all using the same attachment folder?

Why did the problem occur first time when we moved the site from a subdomain to a main domain - duplicating the site on subdomains like dev1. dev2. etc did work just fine before?





On Mon, Nov 30, 2015 at 7:17 PM, Paul Catinean <paulcatinean@gmail.com> wrote:
Not sure if I followed the thread carefully but if you added the images via upload using the website editor they are stored in attachments

When duplicating the database these attachments are not transferred 

On Mon, Nov 30, 2015 at 1:03 PM, Cocopapa <cocopapa@gmail.com> wrote:
I guess it is a bug that Duplicate is actually not duplicating the site but only the database.

When you reimport the site the images will show up.  

We did not had to change any settings by the way after reimporting it to a new odoo installation which was running even under a new username and also changed user for the database.



On Sun, Nov 29, 2015 at 7:03 PM, Ermin Trevisan <trevi@twanda.com> wrote:
Unfortunately that is not enough. On 27.11.2015 17:21, Paul Catinean wrote: > Make sure web.base.url from Settings->Parameters->System parameters is > set to the new domain > > On Fri, Nov 27, 2015 at 4:03 PM, Ermin Trevisan <trevi@twanda.com > <mailto:trevi@twanda.com>> wrote: > > Nothing particular, at least as long as the images under the old URLs > are still in the browser cache. > > You only see it in the website source code. > > On 27.11.2015 14:26, Jordi Bofill wrote: > > What in the odoo server log file? > > > > /var/log/odoo/odoo-server.log > > > > El 27/11/15 a les 01:12, Cocopapa ha escrit: > > -- > twanda AG > Ermin Trevisan > Artherstrasse 19 > CH-6318 Walchwil > T +41 41 758 1515 > M +41 79 208 7373 > E trevi@twanda.com <mailto:trevi@twanda.com>www.twanda.ch
> www.twanda.ch/page/restaurant > > > _______________________________________________ > Mailing-List: https://www.odoo.com/groups/community-59 > Post to: mailto:community@mail.odoo.com <mailto:community@mail.odoo.com> > Unsubscribe: https://www.odoo.com/groups?unsubscribe > > > _______________________________________________ > Mailing-List: https://www.odoo.com/groups/community-59 > Post to: mailto:community@mail.odoo.com > Unsubscribe: https://www.odoo.com/groups?unsubscribe > -- twanda AG Ermin Trevisan Artherstrasse 19 CH-6318 Walchwil T +41 41 758 1515 M +41 79 208 7373 E trevi@twanda.com www.twanda.ch www.twanda.ch/page/restaurant

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe