Community mailing list archives

community@mail.odoo.com

Re: Old attachments not opening

by
mihir shah
- 04/02/2016 01:54:22
Hi,


I tried all thing but still the  the error remain the same.

2016-04-02 05:43:23,602 2291 ERROR gipl openerp.addons.base.ir.ir_attachment: _read_file reading /var/lib/odoo/.local/share/Odoo/filestore/gipl/1b/1b151e72846a36ac8fed8843f44ec7cd1953e03e
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_attachment.py", line 126, in _file_read
    r = open(full_path,'rb').read().encode('base64')
IOError: [Errno 2] No such file or directory: u'/var/lib/odoo/.local/share/Odoo/filestore/gipl/1b/1b151e72846a36ac8fed8843f44ec7cd1953e03e'


how to reolve this 

On Fri, Apr 1, 2016 at 11:15 AM, mihir shah <mihir9898@gmail.com> wrote:
HI,

Thank you command does work , i renamed the filestore folder also....but still same error is coming i think i should restore the old databse with the same name and try it again 

On Thu, Mar 31, 2016 at 6:27 PM, Matt Taylor <matt454357@gmail.com> wrote:
Check here:
$ ls ~/.local/share/Odoo/filestore/

Matt


On Thu, Mar 31, 2016 at 12:17 AM, Ray Carnes <ray.carnes@bistasolutions.com> wrote:
The .local folder is created in the home folder of the user that starts the Odoo server.

From: mihir shah
Sent: ‎3/‎30/‎2016 11:09 PM
To: Community
Subject: Re: Old attachments not opening

Where can i find my filestore folder as i have installed the odoo from the deb file. so path odoo is  /lib/python2.7/dist-packages/openerp/

I am not able to find the exact filestore folder  

On Thu, Mar 31, 2016 at 11:12 AM, Ray Carnes <ray.carnes@bistasolutions.com> wrote:
See https://www.odoo.com/groups/community-59/community-15929697?mode=thread&date_begin=&date_end=

You need to copy the filestore folder matching the name of your database.

Ray Carnes
Senior Odoo Consultant | 909.864.4576 | Skype: bista_ray
Time zone: US Pacific | Office: Greater Los Angeles
Bista Solutions, Inc.  | Empowering Business Success

From: mihir shah
Sent: ‎3/‎30/‎2016 10:22 PM
To: Community
Subject: Old attachments not opening

Dear community,

I take backup of odoo databse from the command line. i.e the postgres database backup.

I am not using  backup feature given by odoo. 

So i restored the database through but the old attachments are not getting opened. When is try to open attachment it is showing no URL found.


How can i get back my attachments back.




--
Regards 
Mihir Shah

*Please Don't print this email unless you really need to "Save Earth and Save Environment" 

_______________________________________________
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




--
Regards 
Mihir Shah

*Please Don't print this email unless you really need to "Save Earth and Save Environment" 

_______________________________________________
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




--
Regards 
Mihir Shah

*Please Don't print this email unless you really need to "Save Earth and Save Environment" 



--
Regards 
Mihir Shah

*Please Don't print this email unless you really need to "Save Earth and Save Environment"