跳至内容
菜单
此问题已终结

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?

形象
丢弃
最佳答案

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

形象
丢弃
最佳答案

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?

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
1
7月 19
5350
1
7月 25
7277
1
2月 25
4522
5
10月 24
13273
0
11月 23
5744