Booklore update to 1.1.1 is failing #1565

Closed
opened 2026-02-05 01:37:18 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @Maxter3185 on GitHub (Sep 2, 2025).

Have you read and understood the above guidelines?

yes

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

BookLore

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📈 Which Proxmox version are you on?

9.0.6

📝 Provide a clear and concise description of the issue.

I have installed Booklore few days ago, and After the 1.1.0 version, the update process fails when compiling. Looking through the error it seems its a Java compiling issue, so I've downloaded the code and found that the file was deleted by the author (probably refactored the code).
So I think this script should be changed to downlad the sources from the git repo or, delete the /opt/booklore folder and start from scratch when downloading the new .zip file

🔄 Steps to reproduce the issue.

  • Install Script with an older version 0.38.2 and then update through 1.0.0 and 1.1.1

Paste the full error output (if available).

Note: Recompile with -Xlint:deprecation for details.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Some input files use unchecked or unsafe operations.
/opt/booklore/booklore-api/src/main/java/com/adityachandel/booklore/service/fileprocessor/FileProcessingUtils.java:41: error: cannot find symbol
bookMetadataEntity.setThumbnail(fileService.getThumbnailPath(bookId) + "/f.jpg");
^
symbol: method getThumbnailPath(long)
location: variable fileService of type FileService
/opt/booklore/booklore-api/src/main/java/com/adityachandel/booklore/service/fileprocessor/FileProcessingUtils.java:46: error: cannot find symbol
String resolution = appSettingService.getAppSettings().getCoverResolution();
^
symbol: method getCoverResolution()
location: class AppSettings
/opt/booklore/booklore-api/src/main/java/com/adityachandel/booklore/service/fileprocessor/FileProcessingUtils.java:52: error: cannot find symbol
File bookDirectory = new File(fileService.getThumbnailPath(bookId));
^
symbol: method getThumbnailPath(long)
location: variable fileService of type FileService
/opt/booklore/booklore-api/src/main/java/com/adityachandel/booklore/service/fileprocessor/FileProcessingUtils.java:74: error: cannot find symbol
String bookCoverFolder = fileService.getThumbnailPath(bookId);
^
symbol: method getThumbnailPath(Long)
location: variable fileService of type FileService
4 errors
78 warnings

  • Try:

Check your code and dependencies to fix the compilation error(s)
Run with --scan to get full insights.

BUILD FAILED in 39s
2 actionable tasks: 2 executed

[ERROR] in line 48: exit code 0: while executing command $STD ./gradlew clean build --no-daemon

  • Try:

Check your code and dependencies to fix the compilation error(s)
Run with --scan to get full insights.

BUILD FAILED in 39s
2 actionable tasks: 2 executed

[ERROR] in line 48: exit code 0: while executing command $STD ./gradlew clean build --no-daemon

🖼️ Additional context (optional).

No response

Originally created by @Maxter3185 on GitHub (Sep 2, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? BookLore ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/booklore.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📈 Which Proxmox version are you on? 9.0.6 ### 📝 Provide a clear and concise description of the issue. I have installed Booklore few days ago, and After the 1.1.0 version, the update process fails when compiling. Looking through the error it seems its a Java compiling issue, so I've downloaded the code and found that the file was deleted by the author (probably refactored the code). So I think this script should be changed to downlad the sources from the git repo or, delete the /opt/booklore folder and start from scratch when downloading the new .zip file ### 🔄 Steps to reproduce the issue. - Install Script with an older version 0.38.2 and then update through 1.0.0 and 1.1.1 ### ❌ Paste the full error output (if available). Note: Recompile with -Xlint:deprecation for details. Note: Recompile with -Xlint:unchecked for details. Note: Some input files use or override a deprecated API. Note: Some input files use unchecked or unsafe operations. /opt/booklore/booklore-api/src/main/java/com/adityachandel/booklore/service/fileprocessor/FileProcessingUtils.java:41: error: cannot find symbol bookMetadataEntity.setThumbnail(fileService.getThumbnailPath(bookId) + "/f.jpg"); ^ symbol: method getThumbnailPath(long) location: variable fileService of type FileService /opt/booklore/booklore-api/src/main/java/com/adityachandel/booklore/service/fileprocessor/FileProcessingUtils.java:46: error: cannot find symbol String resolution = appSettingService.getAppSettings().getCoverResolution(); ^ symbol: method getCoverResolution() location: class AppSettings /opt/booklore/booklore-api/src/main/java/com/adityachandel/booklore/service/fileprocessor/FileProcessingUtils.java:52: error: cannot find symbol File bookDirectory = new File(fileService.getThumbnailPath(bookId)); ^ symbol: method getThumbnailPath(long) location: variable fileService of type FileService /opt/booklore/booklore-api/src/main/java/com/adityachandel/booklore/service/fileprocessor/FileProcessingUtils.java:74: error: cannot find symbol String bookCoverFolder = fileService.getThumbnailPath(bookId); ^ symbol: method getThumbnailPath(Long) location: variable fileService of type FileService 4 errors 78 warnings * Try: > Check your code and dependencies to fix the compilation error(s) > Run with --scan to get full insights. BUILD FAILED in 39s 2 actionable tasks: 2 executed [ERROR] in line 48: exit code 0: while executing command $STD ./gradlew clean build --no-daemon * Try: > Check your code and dependencies to fix the compilation error(s) > Run with --scan to get full insights. BUILD FAILED in 39s 2 actionable tasks: 2 executed [ERROR] in line 48: exit code 0: while executing command $STD ./gradlew clean build --no-daemon ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bugexternal labels 2026-02-05 01:37:18 +03:00
Author
Owner

@MickLesk commented on GitHub (Sep 2, 2025):

You're not alone in this. LXC causes problems with every update, but no one reports it in their repo. That's why we don't have a solution yet. Feel free to create an issue with them, and maybe the bug will be fixed.

https://github.com/community-scripts/ProxmoxVE/issues/7074 and many others

@MickLesk commented on GitHub (Sep 2, 2025): You're not alone in this. LXC causes problems with every update, but no one reports it in their repo. That's why we don't have a solution yet. Feel free to create an issue with them, and maybe the bug will be fixed. https://github.com/community-scripts/ProxmoxVE/issues/7074 and many others
Author
Owner

@Maxter3185 commented on GitHub (Sep 2, 2025):

@MickLesk Yeah, I've seen the other issue, but in THIS case and only in this one, the problem happens because the new .zip file goes over the old installation instead of starting from scratch, or updating the source tree using git. This issue happens because somewhere between 0.38.x and 1.1.x the code was refactored and the source got updated, but the file was kept in my LXC (because it was just overwritten by the script).
Is is possible to change the script to remove the /opt/booklore folder when doing every update, or update through git instead of downloading the release zip file?
I don't know much about bash scripting (just some Java) that's why I've recognised that the orphan file was causing this problem.

@Maxter3185 commented on GitHub (Sep 2, 2025): @MickLesk Yeah, I've seen the other issue, but in THIS case and only in this one, the problem happens because the new .zip file goes over the old installation instead of starting from scratch, or updating the source tree using git. This issue happens because somewhere between 0.38.x and 1.1.x the code was refactored and the source got updated, but the file was kept in my LXC (because it was just overwritten by the script). Is is possible to change the script to remove the /opt/booklore folder when doing every update, or update through git instead of downloading the release zip file? I don't know much about bash scripting (just some Java) that's why I've recognised that the orphan file was causing this problem.
Author
Owner

@MickLesk commented on GitHub (Sep 2, 2025):

No we dont use git, but we can remove the folder. But i dont use this tool, idk what is needed to backup, where are the files stores? where are configs stored ?

@MickLesk commented on GitHub (Sep 2, 2025): No we dont use git, but we can remove the folder. But i dont use this tool, idk what is needed to backup, where are the files stores? where are configs stored ?
Author
Owner

@MickLesk commented on GitHub (Sep 2, 2025):

you can try it, when #7351 merged

@MickLesk commented on GitHub (Sep 2, 2025): you can try it, when #7351 merged
Author
Owner

@MickLesk commented on GitHub (Sep 2, 2025):

Can you try it?

@MickLesk commented on GitHub (Sep 2, 2025): Can you try it?
Author
Owner

@Maxter3185 commented on GitHub (Sep 2, 2025):

Can you try it?

@MickLesk yes, had to tinker a little with the ~/.booklore file because it was marked as already updated as 1.1.1 even with the failed script, but after that the script ran perfect and now it is updated. Didn't lose anything

@Maxter3185 commented on GitHub (Sep 2, 2025): > Can you try it? @MickLesk yes, had to tinker a little with the ~/.booklore file because it was marked as already updated as 1.1.1 even with the failed script, but after that the script ran perfect and now it is updated. Didn't lose anything
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1565