C9Glax / tranga

Docker-Container to monitor (Manga) Scanlation-Sites for download new chapters.
GNU General Public License v3.0
133 stars 13 forks source link

[It broke]: Crashes on start 'The file '/usr/share/tranga-api/logs' already exists.' #169

Closed yacob841 closed 5 months ago

yacob841 commented 5 months ago

What is broken?

Crashes on start with /log already exists error. Attempted repulling and still crashes.

Log-output

Unhandled exception. System.IO.IOException: The file '/usr/share/tranga-api/logs' already exists.
   at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)
   at System.IO.Directory.CreateDirectory(String path)
   at Tranga.Tranga.Main(String[] args) in /src/Tranga/TrangaArgs.cs:line 18
-f -c -l /usr/share/tranga-api/logs
No parameter provided for argument -l. -h for help.

Additional stuff

No response

C9Glax commented 5 months ago

Delete the logs file in your settings folder (wherever /usr/share/tranga-api) is mounted.

yacob841 commented 5 months ago

Yes, that fixes it but I was posting because I figure already seeing logs should be a reason for container crashing right?