Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directory flags not working any more #1801

Closed
mregni opened this issue Jun 3, 2022 · 4 comments
Closed

Directory flags not working any more #1801

mregni opened this issue Jun 3, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@mregni
Copy link
Owner

mregni commented Jun 3, 2022

Seems like settings any or all of the dir flags is not working any more.
Configuration always stays the same

@mregni mregni added the bug Something isn't working label Jun 3, 2022
@mregni mregni self-assigned this Jun 3, 2022
mregni added a commit that referenced this issue Jun 3, 2022
mregni added a commit that referenced this issue Jun 5, 2022
@aptalca
Copy link

aptalca commented Jun 7, 2022

Now the arguments are taken into consideration with beta34, however, all paths are treated as relative and it's not possible to set an absolute path.

Using the command /opt/embystat/EmbyStat --data-dir /config results in Config dir: /opt/embystat/config, instead of Config dir: /config

A path starting with a / should be treated as an absolute path.

Thanks

@mregni
Copy link
Owner Author

mregni commented Jun 10, 2022

I just uploaded beta.36 with a fix for this issue. Can you check if it's working now correctly again?
Flags to use are --enable-updates false --data-dir /config --log-dir /config/log --config-dir /config
image

@mregni mregni added question Further information is requested and removed ready to release labels Jun 10, 2022
@martadinata666
Copy link

martadinata666 commented Jun 10, 2022

Not lsio image, but confirming the value path passed correctly.

[2022-06-10 19:36:38.078] []  [INF] --------------------------------------------------------------------
[2022-06-10 19:36:38.123] []  [INF] System info:
[2022-06-10 19:36:38.123] []  [INF]     Environment     Production
[2022-06-10 19:36:38.123] []  [INF]     Debugger        False
[2022-06-10 19:36:38.126] []  [INF]     Process Name    EmbyStat
[2022-06-10 19:36:38.127] []  [INF]     Version         0.2.0.0
[2022-06-10 19:36:38.127] []  [INF]     Log level:      Information
[2022-06-10 19:36:38.127] []  [INF]     Port:           6555
[2022-06-10 19:36:38.127] []  [INF]     SSL Port:       6556
[2022-06-10 19:36:38.127] []  [INF]     SSL Enabled:    False
[2022-06-10 19:36:38.127] []  [INF]     URLs:           *
[2022-06-10 19:36:38.127] []  [INF]     Config dir:     /home/debian/embystat
[2022-06-10 19:36:38.127] []  [INF]     Log dir:        /home/debian/embystat/log
[2022-06-10 19:36:38.127] []  [INF]     Data dir:       /home/debian/embystat
[2022-06-10 19:36:38.127] []  [INF]     Can update:     False
[2022-06-10 19:36:38.127] []  [INF]     As service:     False
[2022-06-10 19:36:38.127] []  [INF] --------------------------------------------------------------------
[2022-06-10 19:36:38.381] [Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager]  [WRN] No XML encryptor configured. Key {9fd1fbc3-d644-470a-887c-007d47e2c34b} may be persisted to storage in unencrypted form.
[2022-06-10 19:36:38.521] [Microsoft.Hosting.Lifetime]  [INF] Now listening on: http://[::]:6555
[2022-06-10 19:36:40.386] [Microsoft.Hosting.Lifetime]  [INF] Application started. Press Ctrl+C to shut down.
[2022-06-10 19:36:40.387] [Microsoft.Hosting.Lifetime]  [INF] Hosting environment: Production
[2022-06-10 19:36:40.387] [Microsoft.Hosting.Lifetime]  [INF] Content root path: /opt/embystat

@mregni
Copy link
Owner Author

mregni commented Jun 14, 2022

Closing it for now as it seems fixed, if not let me know.

@mregni mregni closed this as completed Jun 14, 2022
@mregni mregni removed the question Further information is requested label Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants