Image not available after migration

Hello,

i migrated from v4 to v5, I did my files backup and then extract files in appropriate site’s sub directory ~/frappe-bench/sites/[sitename]/public/files.But my images are not available. What could it be?

Trying to fix I did:
1-check the permissions of these files.
-rwxrwxrwx 1 frappe frappe 7968 Aug 4 10:40 semillas de girasol.jpg
-rwxrwxrwx 1 frappe frappe 5927 Aug 4 10:40 soya.jpg

2-Try to synchronize static files. (bench sync-www and bench build-website). I’m not sure if these are the correct commands.

You have tor restore them in: bench/sites/[sitename]/public/files

@rmehta I restored in this path from the beginning and not work
(bench/sites/[sitename]/public/files), sorry I made a mistake when I wrote the post.

Check your nginx settings. Regenerate them and try again.