Skip to content

Stirling-PDF installation Script failed with error #4786

@liprox

Description

@liprox

✅ Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Stirling-PDF

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/stirling-pdf.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📝 Provide a clear and concise description of the issue.

HI,

Today I wanted to set up the corresponding LXC container using the "Sterling-PDF" script:
''bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/stirling-pdf.sh)" ''.

Proxmox is version 8.4.1.

The installation aborts with the following error message:

⠼Trigger für libc-bin (2.36-9+deb12u10) werden verarbeitet ...
✔️ Installed Language Packs
⠦Downloading https://services.gradle.org/distributions/gradle-8.14-all.zip
⠧...100%.....

Welcome to Gradle 8.14!

Here are the highlights of this release:

  • Java 24 support
  • GraalVM Native Image toolchain selection
  • Enhancements to test reporting
  • Build Authoring improvements

For more details see https://docs.gradle.org/8.14/release-notes.html

⠋Starting a Gradle Daemon (subsequent builds will be faster)

Task :compileJava
Note: /opt/jbig2enc/Stirling-PDF-0.46.2/src/main/java/stirling/software/SPDF/controller/api/security/ValidateSignatureController.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
<=
Task :compileTestJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
<=OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
<=
Task :test

GeneralUtilsAdditionalTest > testFormatBytes() FAILED
org.opentest4j.AssertionFailedError at GeneralUtilsAdditionalTest.java:22
<=
309 tests completed, 1 failed
<=

Task :test FAILED

[Incubating] Problems report is available at: file:///opt/jbig2enc/Stirling-PDF-0.46.2/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':test'.

There were failing tests. See the report at: file:///opt/jbig2enc/Stirling-PDF-0.46.2/build/reports/tests/test/index.html

  • Try:

Run with --scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.14/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 2m 18s
12 actionable tasks: 11 executed, 1 up-to-date

[ERROR] in line 83: exit code 0: while executing command $STD ./gradlew build
/dev/fd/63: Zeile 74: SPINNER_PID ist nicht gesetzt.

The script is probably outdated. I suspect it is no longer compatible with the current version of Proxmox.

regards,
gerd

🔄 Steps to reproduce the issue.

Step 1:
on Proxmox command line (in Web GUI):
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/stirling-pdf.sh)"
Step 2:
default settings
Step 3:
the Error above

❌ Paste the full error output (if available).

⠼Trigger für libc-bin (2.36-9+deb12u10) werden verarbeitet ...
✔️ Installed Language Packs
⠦Downloading https://services.gradle.org/distributions/gradle-8.14-all.zip
⠧...100%.....

Welcome to Gradle 8.14!

Here are the highlights of this release:

  • Java 24 support
  • GraalVM Native Image toolchain selection
  • Enhancements to test reporting
  • Build Authoring improvements

For more details see https://docs.gradle.org/8.14/release-notes.html

⠋Starting a Gradle Daemon (subsequent builds will be faster)

Task :compileJava
Note: /opt/jbig2enc/Stirling-PDF-0.46.2/src/main/java/stirling/software/SPDF/controller/api/security/ValidateSignatureController.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
<=
Task :compileTestJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
<=OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
<=
Task :test

GeneralUtilsAdditionalTest > testFormatBytes() FAILED
org.opentest4j.AssertionFailedError at GeneralUtilsAdditionalTest.java:22
<=
309 tests completed, 1 failed
<=

Task :test FAILED

[Incubating] Problems report is available at: file:///opt/jbig2enc/Stirling-PDF-0.46.2/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':test'.

There were failing tests. See the report at: file:///opt/jbig2enc/Stirling-PDF-0.46.2/build/reports/tests/test/index.html

  • Try:

Run with --scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.14/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 2m 18s
12 actionable tasks: 11 executed, 1 up-to-date

[ERROR] in line 83: exit code 0: while executing command $STD ./gradlew build
/dev/fd/63: Zeile 74: SPINNER_PID ist nicht gesetzt.

🖼️ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions