pigallery2
pigallery2 copied to clipboard
Sorting folders by Name seems incorrect
Describe the bug
Sorting of folder by name (ascending or descending) seems incorrect or not as I expected. The 1,2 and a,z are me testing. The 2021.xxxx folders is where I would suspect the sorting to be inconsistent.
Screenshots (optional)
my linux folder ( ls -alF)
Same folder in PiGallery 2
Server logs (optional) Not Applicable (works great and fast, thnx!)
Environment (please complete the following information):
- OS: Ubuntu 20.04.3 LTS
- Browser [Microsoft Edge Version 97.0.1072.76 (Official build) (64-bit)]
Used app version:
- docker bpatrik/pigallery2:latest-debian-buster
-
Can you please try it with buster nightly?
I remember this was an issue before and got fixed (at least for some use-cases)
Patrik
-- Sorry for being brief, sent from my phone.
keppo070 @.***> ezt írta (időpont: 2022. febr. 9., Sze 12:08):
Describe the bug
Sorting of folder by name (ascending or descending) seems incorrect or not as I expected.
Screenshots (optional)
[image: image] https://user-images.githubusercontent.com/8713528/153184863-ecd6cf2a-ef7b-41db-9fda-cf6d9daea315.png my linux folder ( ls -alF)
[image: image] https://user-images.githubusercontent.com/8713528/153185043-13f18b47-aec3-4508-b042-8cf4ba8cc329.png Same folder in PiGallery 2
Server logs (optional) Not Applicable (works great and fast, thnx!)
Environment (please complete the following information):
- OS: Ubuntu 20.04.3 LTS
- Browser [Microsoft Edge Version 97.0.1072.76 (Official build) (64-bit)]
Used app version:
- docker bpatrik/pigallery2:latest-debian-buster
- [image: image] https://user-images.githubusercontent.com/8713528/153186008-3c6e86f1-5917-4996-9cba-03812ca97255.png
— Reply to this email directly, view it on GitHub https://github.com/bpatrik/pigallery2/issues/416, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZKA5Q7WCKUL7TBW3BU6ULU2JDKNANCNFSM5N5FD2FQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
using bpatrik/pigallery2:nightly-debian-buster it does not seem to start.
NODE_ENV environmental variable is set to debug, forcing all logs to print 2/9/2022, 11:33:24 AM[INFO_][server] Running in DEBUG mode, set env variable NODE_ENV=production to disable 2/9/2022, 11:33:24 AM[INFO_][server] running diagnostics... [Typeconfig] Loading config. Path: /app/data/config/config.json [Typeconfig] Loading defaults from file: undefined [Typeconfig] Loading defaults, def prefix: default [Typeconfig] no default cli found among these: { "expose": { "gc": true }, "config": { "path": "/app/data/config/config.json" } } [Typeconfig] from env: { "Server": { "Database": { "dbFolder": "/app/data/db" }, "Media": { "folder": "/app/data/images", "tempFolder": "/app/data/tmp" } } } [Typeconfig] Processing cli and ENV inputs: { "expose": { "gc": true }, "config": { "path": "/app/data/config/config.json" } } [Typeconfig] Processing cli and ENV inputs: { "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "HOSTNAME": "96ffd378df73", "NODE_ENV": "debug", "NODE_VERSION": "14.19.0", "YARN_VERSION": "1.22.17", "PI_DOCKER": true, "HOME": "/root" } NODE_ENV environmental variable is set to debug, forcing all logs to print
From this I cannot really tel much. There is no error message.
closing this due to inactivity
having a vague memory this issue might have been connected to config (most likely config had changed between the two versions and nightly failed on an unkown config variable. this has been fixed later)