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 Report: Redlib version stuck at 30.2 for a while on render.com and now it gives error. #349

Open
1 task done
Taratect opened this issue Dec 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Taratect
Copy link

Describe the bug

Bascially my personal instance that's hosted on render.com was stuck at 30.2. In this version redlib had a bug where it couldn't load reddit posts and would show error if I had subscribed to 2 or more feeds. I didn't bother reporting it since I only used redlib for random posts and didn't use it with subscribed feeds.

However now it always gives me an error every time I click the custom url (redlib homepage/redlib popular page) given to me by render. Idk if the 2nd half of the bug is related to the latest issue #345 . If the problem is similar you can close the issue and mention it there. Plus would be helpful if anyone can provide a solution on how to fix the 1st half problem of being stuck at 30.2.

Steps to reproduce the bug

Just go to the custom url provided and you get error. No posts from reddit appears

Also I get some error while trying to deploy from render.com. it seems render cannot download the latest version of redlib for some reason

What's the expected behavior?

Redlib should work without ussues

Additional context / screenshot

This is the error I get when trying to redeploy redlib on render.com

https://github.com/redlib-org/redlib/releases/latest/download/redlib-${TARGET}.tar.gzhttps://github.com/redlib-org/redlib/releases/latest/download/redlib-${TARGET}.tar.gzerror: failed to solve: process "/bin/sh -c curl -L \"https://github.com/redlib-org/redlib/releases/latest/download/redlib-${TARGET}.tar.gz\" | tar xz -C /usr/local/bin/" did not complete successfully: exit code: 1 error: exit status 1

Lastly what appears when I click on my personal instance of edlib homepage:

Failed to parse page JSON data: expected value at line 1 column 1 Reddit Status

Head back home? `

  • I checked that the instance that this was reported on is running the latest git commit, or I can reproduce it locally on the latest git commit
@Taratect Taratect added the bug Something isn't working label Dec 28, 2024
@Taratect
Copy link
Author

Taratect commented Dec 28, 2024

Okay did some research and found that the url https://github.com/redlib-org/redlib/releases/latest/download/redlib-${TARGET}.tar.gz in the dockerfile does not contain any file. So I tried to download the url for redlib tar.gz releases which is https://codeload.github.com/redlib-org/redlib/zip/refs/tags/v0.35.1 and replaced it with the former.

Okay now that error went away and render.com successfully downloaded it and was in middle of deploying but I got another error: Exited with status 128

I tried researching the error code. Apparently it means the code within the container triggered an exit code but did not provide a valid exit code or the deploy crashed because for using the wrong run command. What's the run command for redlib?

Any ideas how to fix this? I have no idea with my limited basic knowledge of java

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

No branches or pull requests

1 participant