[Support] manuel-rw Docker Support thread


manrw

Recommended Posts

  • 2 weeks later...
2 hours ago, VelcroBP said:

Is there an environment variable available to set UMASK for the SLSKD container? Right now all files/folders are set as -rw-r--r--


Please refer to the official documentation for information regarding permissions & configuration:
https://github.com/slskd/slskd/blob/master/docs/docker.md
https://github.com/slskd/slskd/blob/master/docs/config.md


You can contribute missing properties or environment variables on the template when necessary:
https://github.com/manuel-rw/unraid-templates

Link to comment

Hello. I updated the docker this morning and after it completed, I can no longer log in. I get Request failed with status code 500 and this shows in the log:

System.ArgumentOutOfRangeException: IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'HS256', the key size must be greater than: '256' bits, key has '168' bits. (Parameter 'keyBytes')
   at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
   at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
   at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
   at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.CreateInstance()
   at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
   at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
   at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
   at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.WriteToken(SecurityToken token)
   at slskd.Core.API.TokenResponse.get_Token()
   at System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1.GetMemberAndWriteJson(Object obj, WriteStack& state, Utf8JsonWriter writer)
   at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryWrite(Utf8JsonWriter writer, T value, JsonSerializerOptions options, WriteStack& state)
   at System.Text.Json.Serialization.JsonConverter`1.TryWrite(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state)
   at System.Text.Json.Serialization.JsonConverter`1.WriteCore(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state)
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.SerializeAsync(Stream utf8Json, T rootValue, CancellationToken cancellationToken, Object rootValueBoxed)
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.SerializeAsync(Stream utf8Json, T rootValue, CancellationToken cancellationToken, Object rootValueBoxed)
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.SerializeAsync(Stream utf8Json, T rootValue, CancellationToken cancellationToken, Object rootValueBoxed)
   at Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext context, Encoding selectedEncoding)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at slskd.HTMLInjectionMiddleware.InvokeAsync(HttpContext context)
   at slskd.HTMLRewriteMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)

 

Any ideas?

Edited by Keek Uras
Link to comment
15 minutes ago, Keek Uras said:

Hello. I updated the docker this morning and after it completed, I can no longer log in. I get Request failed with status code 500 and this shows in the log:

System.ArgumentOutOfRangeException: IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'HS256', the key size must be greater than: '256' bits, key has '168' bits. (Parameter 'keyBytes')
   at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
   at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
   at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
   at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.CreateInstance()
   at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
   at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
   at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
   at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
   at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.WriteToken(SecurityToken token)
   at slskd.Core.API.TokenResponse.get_Token()
   at System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1.GetMemberAndWriteJson(Object obj, WriteStack& state, Utf8JsonWriter writer)
   at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryWrite(Utf8JsonWriter writer, T value, JsonSerializerOptions options, WriteStack& state)
   at System.Text.Json.Serialization.JsonConverter`1.TryWrite(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state)
   at System.Text.Json.Serialization.JsonConverter`1.WriteCore(Utf8JsonWriter writer, T& value, JsonSerializerOptions options, WriteStack& state)
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.SerializeAsync(Stream utf8Json, T rootValue, CancellationToken cancellationToken, Object rootValueBoxed)
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.SerializeAsync(Stream utf8Json, T rootValue, CancellationToken cancellationToken, Object rootValueBoxed)
   at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.SerializeAsync(Stream utf8Json, T rootValue, CancellationToken cancellationToken, Object rootValueBoxed)
   at Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter.WriteResponseBodyAsync(OutputFormatterWriteContext context, Encoding selectedEncoding)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at slskd.HTMLInjectionMiddleware.InvokeAsync(HttpContext context)
   at slskd.HTMLRewriteMiddleware.InvokeAsync(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)

 

Any ideas?


Hi, this is an issue of the application itself - not the template. Please report any application issues to the author: https://github.com/slskd/slskd/issues . This support thread is only for template related issues. The template uses the official Docker image as well.

Link to comment
  • 3 weeks later...
41 minutes ago, Icebr3aker said:

Hi,

i just installed Homarr, but when i go to the WebUI for the first time it asks me for a username and Password even though I didn´t set either up, is there a default or am I missing something


Hi,
Homarr requires you to set an administrator account for security.
Once you've created this account, it will no longer ask you for it.
However, to make any changes to the boards or settings, you must relogin to your administrator account.

If you're having troubles with the account or forgot your password, you can use the CLI to recover your account or start from scratch: https://homarr.dev/docs/advanced/command-line/

 

3 minutes ago, technotic said:

I was just curious... How does Manuel feel about all of this? Manuel is probably the most supported guy in the entire tech industry. 


Sorry, I don't get your question. How may I help you?

Link to comment
  • 3 weeks later...
  • 4 weeks later...
  • 3 weeks later...

Hi there, 

first, thanks for the slskd container!
It is up and running. 

i was able to mount my NAS in it as download target.
Unfortunately, I cannot get the share to work.

The config is like this:
 

directories:
  incomplete: /app/incomplete
  downloads: /app/downloads
shares:
  directories: []

 

I cannot add my shares here...
Even if I set the remote configuration to "true" it is not working to edit the config-file. 

 

Any Ideas?

Link to comment
5 minutes ago, scissabob said:

Hi there, 

first, thanks for the slskd container!
It is up and running. 

i was able to mount my NAS in it as download target.
Unfortunately, I cannot get the share to work.

The config is like this:
 

directories:
  incomplete: /app/incomplete
  downloads: /app/downloads
shares:
  directories: []

 

I cannot add my shares here...
Even if I set the remote configuration to "true" it is not working to edit the config-file. 

 

Any Ideas?


Hi,
I recommend you to read the configuration for the shared: https://github.com/slskd/slskd/blob/master/docs/config.md#shares .
Please note that you must mount your directories to inside the container using a path mode (prefer read-only if possible). Then reference this path using the config.
So when you're editing the config file, you're unable to edit it?
Have you read https://github.com/slskd/slskd/blob/master/docs/docker.md ?
As far as I can see, you should edit this on the mounted directory while the application is stopped, save it and then restart the application.

  • Like 1
Link to comment

Thanks, i will read into it tomorrow. 
But yes, when I edit it over the webif, i can only see the example config with all the # in front, so I guess, that the real config is somewhere else...

if i look at the config without hitting the edit button, i can see the real config.

Link to comment

Thanks, i will read into it tomorrow. 
But yes, when I edit it over the webif, i can only see the example config with all the # in front, so I guess, that the real config is somewhere else...

if i look at the config without hitting the edit button, i can see the real config.

 

edit: I got it... so you have to delete the #'s in the configfile for the lines which shows an error. Then you can add the shares in the config file and save it. After rebooting it takes some time, because of scanning your shares (you can see the status in the logs). When the scanning is done, everything works fine.

Link to comment
  • 2 weeks later...

Hey there.

 

I just need a little help to configures shares on soulseek

 

In option i'm trying to change in options

 

# shares:
#   directories:
#     - ~

 

to

 

# shares:
#   directories:
#     - '/mnt/user/musique/'

 

but i get an "Value cannot be null. (Parameter 'instance')"

 

(yes, my skills are very limited in syntax...)

 

Anyone ?

 

 

Link to comment

ok, found it

 

1/ you have to remove the #

2/ using " " 

3/ you can use the container path : "/temp" instead of absolute path

 

BUT i still fail to enter the shares

 

 shares:
   directories: "/musique"

 

Exception during deserialization: Invalid cast from 'System.String' to 'System.String[]'.

Edited by Maitresinh
Link to comment
7 hours ago, Maitresinh said:

ok, found it

 

1/ you have to remove the #

2/ using " " 

3/ you can use the container path : "/temp" instead of absolute path

 

BUT i still fail to enter the shares

 

 

 

Exception during deserialization: Invalid cast from 'System.String' to 'System.String[]'.

Hi, you need to have a list instead of a single string:

https://github.com/slskd/slskd/blob/master/docs/config.md#directories.

 

shares:
   directories:
     - "/musique"

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.