Dynmap-Forge/Fabric

Dynmap-Forge/Fabric

1M Downloads

Dynmap: webp Cannot run program "/usr/bin/cwebp"

timriker opened this issue ยท 5 comments

commented

Issue Description: Dynmap sample issue description. This description would include as much and as little detail necessary for us to understand the issue in its entirety.

  • Dynmap Version: Dynmap-3.7-beta-4-spigot.jar
  • Server Version: paper-1.20.4-407.jar
  • Pastebin of Configuration.txt: https://pastebin.com/eMbeexiT
  • Server Host (if applicable): *Selfhosted, Ubuntu 22.04 *
  • Pastebin of crashlogs or other relevant logs: [Sat 15:55:26 INFO dynmap] Error encoding image - Cannot run program "/usr/bin/cwebp": error=0, Failed to exec spawn helper: pid: 499961, signal: 11
  • Other Relevant Data/Screenshots: I've not edited the configuration.txt from when it used to work. I have upgraded Dynmap, PaperMC and OS patches
  • Steps to Replicate: Try same webp setup on Ubuntu 22.04?

[ x] I have looked at all other issues and this is not a duplicate
[ x] I have been able to replicate this

webp 1.2.2-2ubuntu0.22.04.2 amd64

commented

Hi @timriker,

Did you fix the issue?

What's the version of your cwebp package?


I am having a similar error as seen below.

22:54:15] [Dynmap Render Thread/INFO]: [Dynmap] Error encoding image - Cannot run program "/usr/bin/cwebp": error=2, No such file or directory

The cwepb my system is running is ๐Ÿ‘‡

โ”€>$ /usr/bin/cwebp -version
1.3.2
libsharpyuv: 0.2.1
commented

No. Tile rendering continues to fail as posted. Versions:

$ /usr/bin/cwebp -version
1.2.2

from the webp version 1.22 package listed above on Ubuntu 22.04.4

commented

cwebp has no execution rights, check the permissions from the dynmap mc user to that executable

commented

I found the issue on my server. It was the java version in use.

Make sure you are using a version compatible with dynmap ๐Ÿ˜„

commented

cwebp does have execuable rights as you can see by the version update above.

Eventually I upgraded Java and other jar files, and rendering has resumed.

[18:58:36 INFO]: This server is running Paper version 1.20.6-147-ver/1.20.6@e41d44f (2024-06-17T19:24:35Z) (Implementing API version 1.20.6-R0.1-SNAPSHOT)

$ java --version
openjdk 21.0.3 2024-04-16
OpenJDK Runtime Environment (build 21.0.3+9-Ubuntu-1ubuntu122.04.1)
OpenJDK 64-Bit Server VM (build 21.0.3+9-Ubuntu-1ubuntu122.04.1, mixed mode, sharing)

Dynmap-3.7-beta-6-spigot.jar

still same cwebp:

$ /usr/bin/cwebp -version
1.2.2