-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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] Crystal build fails #2665
Comments
Please post your crystal version: |
Crystal 0.33.0 (2020-03-02)
LLVM: 5.0.1
Default target: arm-unknown-linux-gnueabihf |
Please use at least crystal 1.1.0. We don't support older versions. That's why you are having issues compiling invidious. |
That's the thing. The only working method to use crystal on a Raspberry Pi was http://public.portalier.com/raspbian/. But it seems like it's outdated. Do you know any other alternative to use on a Raspberry Pi? |
Depending on your raspberry pi version, for example if you have a raspberry pi 3 or 4 then you may consider using our docker image available for ARM64/armv8: #361 (comment). You will need a ARM64/ARMv8 operating system though, raspbian support ARM64: https://old.reddit.com/r/raspberry_pi/comments/gs6omd/raspberry_pi_os_for_arm64_finally_released/ or you can use ubuntu core or archlinux arm. |
@Northernside ARM has no official releases, so you'll either have to use docker, as recommended by unixfox, or follow the instructions to install crystal from source: https://crystal-lang.org/install/from_sources/ (NB: this requires cross-compilation at some poinf from a x86 or x86_64 host). |
I tried the Docker variant now but the terminal is spammen with |
You aren't using a ARMv8/ARM64 operating system but a ARMv7 operating system. Please install one of these operating system on your Raspberry Pi:
And make sure to use the correct docker image: |
Sadly, the Raspberry Pi can't boot any other OS than the armv7 Raspbian from an external SSD without a micro SDCard. So I have to wait until tomorrow when my micro SDCards arrive. I'll update you tomorrow. |
So, Log. Does somebody know what to do now? |
Not sure how you installed docker, but your docker seems broken. Did you install docker using this script: https://get.docker.com/? |
You should try to remove all the docker volumes and containers with I think I've seen this weird blank page bug before but I don't remember how the user fixed the issue. @SamantazFox any ideas? |
Oh that's this page that you are talking about. Invidious listen by default only on localhost and not on the public IP so you will have to change: ports:
- "127.0.0.1:3000:3000" to: ports:
- "3000:3000" |
Ohh haha, yeah thanks! Imma try that as soon as Windows finished the update haha. I'll update you. Could take some times yk Windows is slow asf |
Click on trending, they should display. |
EDIT: Changed mapping to |
Describe the bug
While running
crystal build src/invidious.cr --release --error-trace
it fails with the following error:Yes, I already executed
shards install
and I'm in the same directory as theshard.yml
.Steps to Reproduce
Just install Invidious on a Raspberry Pi 4B 8GB (using http://public.portalier.com/raspbian/ for crystal-lang).
Logs
No browser log bc yk it isn't running yet haha
Screenshots
Additional context
I'm trying to install Invidious on a Raspberry Pi 4B running on Rasbian via a 256GB SSD.
The text was updated successfully, but these errors were encountered: