pigallery2 icon indicating copy to clipboard operation
pigallery2 copied to clipboard

Sorting folders by Name seems incorrect

Open keppo070 opened this issue 3 years ago • 3 comments

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)

image my linux folder ( ls -alF)

image 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

keppo070 avatar Feb 09 '22 11:02 keppo070

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:

— 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: @.***>

bpatrik avatar Feb 09 '22 11:02 bpatrik

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

keppo070 avatar Feb 09 '22 11:02 keppo070

From this I cannot really tel much. There is no error message.

bpatrik avatar Mar 12 '22 19:03 bpatrik

closing this due to inactivity

bpatrik avatar Dec 10 '22 00:12 bpatrik

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)

bpatrik avatar Dec 10 '22 00:12 bpatrik