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

[Bug] Error: Unable to access jarfile Tachidesk.jar #374

Closed
achempak opened this issue Jul 13, 2022 · 4 comments · Fixed by #381
Closed

[Bug] Error: Unable to access jarfile Tachidesk.jar #374

achempak opened this issue Jul 13, 2022 · 4 comments · Fixed by #381
Labels
bug Something isn't working

Comments

@achempak
Copy link

Device information

  • Tachidesk version: Tachidesk-Server-v0.6.3-r1100-macOS-x64
  • Server Operating System: MacOS Version 12.3.1
  • Server Desktop Environment: N/A
  • Server JVM version: bundled with release
  • Client Operating System: MacOS Version 12.3.1
  • Client Web Browser: 102.0.1

Steps to reproduce

  1. Try to run any of the launcher scripts

Expected behavior

The program should have launched

Actual behavior

Received an error Error: Unable to access jarfile Tachidesk.jar

Other details

I was able to resolve this by renaming the bundled jar file Tachidesk-Server.jar to Tachidesk.jar

@achempak achempak added the bug Something isn't working label Jul 13, 2022
@AriaMoradi AriaMoradi reopened this Jul 13, 2022
@xeno-crimson
Copy link

I had a similar issue with Tachidesk-Server-v0.6.3-r1100-linux-x64.tar.gz I fixed it with by editing the script.

from this:

#!/bin/sh

exec /usr/bin/java -Dsuwayomi.tachidesk.config.server.webUIInterface=electron -Dsuwayomi.tachidesk.config.server.electronPath=/usr/bin/electron -jar /usr/share/java/tachidesk-server/tachidesk-server.jar

to this:

#!/bin/sh

exec ./jre/bin/java -Dsuwayomi.tachidesk.config.server.webUIInterface=electron -Dsuwayomi.tachidesk.config.server.electronPath=./electron/electron -jar ./Tachidesk-Server.jar

@xeno-crimson
Copy link

other scripts also had similar issue.
script is looking for stuff on /usr instead of the current directory.

@mahor1221
Copy link
Contributor

Expected behavior

The program should have launched

Actual behavior

Received an error Error: Unable to access jarfile Tachidesk.jar

Other details

I was able to resolve this by renaming the bundled jar file Tachidesk-Server.jar to Tachidesk.jar

I've introduced this bug on 291a239 then fixed it on 7195a30 and it will take effect on the next release.

Thanks for reporting the issue 👍🏽

@mahor1221
Copy link
Contributor

mahor1221 commented Jul 20, 2022

other scripts also had similar issue. script is looking for stuff on /usr instead of the current directory.

That makes sense. I'll make a PR to solve it.

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

Successfully merging a pull request may close this issue.

4 participants