I
Immich•5mo ago
Zhigang

Time zone and storage template

I have tried the storage template with: {{y}}/{{MM}}/{{filename}}{{y}}{{MMM}}{{dd}}{{hh}}{{mm}}{{ss}} The shot time of the picture was on 18:24:34 of May 12, 2024. But after I upload, the picture's name is: IMG_3655_2024_May_12_06_24_34.JPG, there has 12 hours time difference. I set the Custom Locale to Chinese(China), but why it not works? Thanks.
No description
No description
5 Replies
Immich
Immich•5mo ago
:wave: Hey @Zhigang, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time). 2. :blue_square: read applicable release notes. 3. :blue_square: reviewed the FAQs for known issues. 4. :blue_square: reviewed Github for known issues. 5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy). 6. :blue_square: uploaded the relevant information (see below). 7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed.
Zeus
Zeus•5mo ago
Very strange. For my immich it shows 16 for HH and H. Yours says 04 Is that screenshot on your own system? the template should be HH (capital), not lowercase , for 24h time
Zhigang
ZhigangOP•5mo ago
Yes, the screenshots are on mine system. I have tried customs the locael and now it seems work fine. And I have found after I have just upload a picture and reload, I click the "i" to show the location, it will be in a temporary folder and with very long file name, after a while, it will put into the UPLOAD_LOCATION and correct file name. I assume this was due to the immich was dealing with the newly upload picture in background. On the other hand, I have not yet tried HH for 24h time, I will try. I think the introduction of hh and HH should be more clear. From the screenshot in previous post, I have no idea of the difference between hh and HH. (I am not familiar with code) I also have run the storage template migration, it works fine. If this also works for external library, that will be cool! I hope Immich could provide the migration function to move external library to internal in the near feature. Then the question that I had post last week (https://discord.com/channels/979116623879368755/1318560049521492048) will no longer exist.:peepoAwesome:
No description
Mraedis
Mraedis•5mo ago
Storage template migration will do nothing to external libraries. External libraries remain untouched, only their contents are processed (faces, location, thumbnail generation...) but the files remain where they are. This is why they are external libraries, if you want them all sorted you'll need to actually upload them. I do see merit in "move external to internal" though. Like a big "upload this folder" kind of thing. 🤔
Zhigang
ZhigangOP•5mo ago
This is super cool for user who decided to move from Synology Photos to Immich, like me. No need to re-upload everything and then could see correct storage value, no more internal and external. OR, change the server stats page, count both internal and external.😅

Did you find this page helpful?