Skip to Content
Menu
This question has been flagged

Hello Everyone!

I am having a question.

Due to utilizing the Production database on my local machine, I have been encountering numerous FileNotFoundError [Errno 2] No such file or directory errors in my logs. However, it is important to note that these errors do not result in the server going down. 

Is there any chance will it lead to server downtime?

Avatar
Discard
Best Answer

Hi,
May be in your local restored db and file store may not be copied from production to local and thus you receive this warning in the log.

It wont cause any problem, in local, you wont get the data's stored in filestore, for example images

Thanks

Avatar
Discard
Best Answer

Hi,

I have a similar problem.

I restored an odoo 17 database in my local environment, and everything was working fine, but suddenly the website lost all the styles, it only has the HTML. I checked the logs and I got this error:

FileNotFoundError: [WinError 2] The system cannot find the file specified: 'c:\\program files\\odoo17\\sessions\\filestore\\ArgoLocalTest/ef/ef81efe624dd46344f0023365fde4f07bca98389'


I searched in that path and the file is really not there, but how can I solve this error?

Avatar
Discard
Best Answer

Hey there,

This is a typical situation that arises on a local machine when restoring a live database. It is usually due to missing filestore and attachments. This won't affect a functioning Odoo server and will simply result in longer log notes.

Thanks

Avatar
Discard
Related Posts Replies Views Activity
1
Jul 19
4521
1
Feb 25
1804
5
Oct 24
10997
0
Nov 23
3700
1
May 22
5771