Closed TheColorman closed 8 months ago
Hey @TheColorman, Sorry for the late reply on this issue, I believe this might be linked to the issue #9, but I will test it to find out. Thank you for the detailed information, that gives me something to work with. I will let you know when I have something.
Tried to debug a bit on Windows on a dev server, but now I'm not seeing the issue...
also don't get the error when starting a container with the exact same compose.yaml on my dev pc. Could it have something to do with the arm architecture?
Tried to build it in a container:
Dockerfile
FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine
RUN apk add --no-cache \
git \
npm
RUN git clone https://github.com/thomst08/requestrr.git /app
WORKDIR /app/Requestrr.WebApi/ClientApp
RUN npm install
RUN npm run build
WORKDIR /app/Requestrr.WebApi
RUN dotnet publish -c release -o publish
WORKDIR /app/Requestrr.WebApi/publish
ENTRYPOINT [ "dotnet", "Requestrr.WebApi.dll" ]
compose.yaml
version: "3.4"
services:
requestrr:
build: .
hostname: requestrr
container_name: requestrr
ports:
- 4545:4545
volumes:
- ./config:/app/Requestrr.WebApi/publish/config
restart: unless-stopped
Again, worked just fine on my PC, but I get the application command error on my raspberry pi.
Issue fixed itself, so apparently it was Discords fault.
It was not Discords fault :)
Issue stemmed from having multiple categories with the same name across Radarr and Sonarr. Making sure no category name was repeated twice fixed the issue (e.g. don't have an anime
category in both the Radarr and Sonarr configs).
As discussed on Discord, Requestrr does not check for unique category names across movies and tv shows, this will need to be corrected in an update to stop from duplicates happening, if this occurs it will cause the slash commands to fail during setup.
I will add this check in a future update.
Hey @TheColorman,
I have just release version 2.1.6, this contains a check for duplicate slash commands. This will stop the bot from building the commands before sending them to Discords API, it shows an error in the logs about this issue. I have also updated the webapp to show feedback when the user enters the same category name as another service, eg, tv vs movies.
As far as I can see, this issue should now be resolved, I will mark this as closed. :)
See this comment for the diagnosed problem:
Original post:
When I start the bot (running in a Docker container) I get the following error:
It has registered slash commands (probably from first boot?), but using any of them results in "The application did not respond", with no activity in the logs.
Only network settings I have set up is that DNS is routed through Pihole, running in an adjacent container. None of my other container have network connectivity problems with my routing setup. docker-compose.yaml:
I have no custom language files. This is from a clean install right after setting up Radarr and Sonarr connections.
Running requestrr 2.1.5