Coder Social home page Coder Social logo

Comments (10)

tmiland avatar tmiland commented on May 17, 2024 2

Option to add swap space added in 1.4.8

Closing. 👍

from invidious-updater.

chxseh avatar chxseh commented on May 17, 2024 1

@sebas891 I was able to get it working using the steps on the Invidious GitHub, however I had to change the way SQL was accepting commands. Here's my commands I had to run.

from invidious-updater.

chxseh avatar chxseh commented on May 17, 2024

I am running this on a fresh LXC in Proxmox, giving it 4GBs of RAM; Still also get this error, unsure if it's because of the LXC or not. (Screenshot)

from invidious-updater.

sebas891 avatar sebas891 commented on May 17, 2024

@ChaseHall I suspect it's not a bug about the install script, but the compilation of invidious. Did you try to do this

$ sudo -i -u invidious
 $ cd invidious
$ shards update && shards install
$ crystal build src/invidious.cr --release
# test compiled binary
$ ./invidious # stop with ctrl c
$ exit

To see if you get the same error message? For me I get this error message, see bug iv-org/invidious#1153

from invidious-updater.

sebas891 avatar sebas891 commented on May 17, 2024

@ChaseHall cool, are you running on 32bits or 64 bits?

from invidious-updater.

chxseh avatar chxseh commented on May 17, 2024

@sebas891 64 Bit.

from invidious-updater.

sebas891 avatar sebas891 commented on May 17, 2024

@ChaseHall thanks for the details. I suspect I'm having problem because of the 32bits architecture.

from invidious-updater.

gripped avatar gripped commented on May 17, 2024

I had this error trying to build the release version.
On a aws t3.micro instance, Ubuntu 18.04, 2G swap file. And again with Centos (aws), And again on a local xubuntu 18.04 KVM with 8G of ram.
Using git master instead of release worked.

from invidious-updater.

GauthierPLM avatar GauthierPLM commented on May 17, 2024

When using the master version (instead of release), I encountered the memory limit: the build process was killed by the kernel because it used too much memory (the build process requires 1.4GB of memory).

Upgrading my droplet to 2GB fixed the issue. However, the errno error does not seem to be related to the memory limit (when a process uses too much memory, it is killed by the kernel, it's not a crystal error).

from invidious-updater.

plasticmacaroni avatar plasticmacaroni commented on May 17, 2024

For anyone finding this page in the future, I fixed this issue by adding a swapfile to my instance, as recommended by this thread: iv-org/invidious#1104. Of course, drive space may be another issue.

If you're not sure what that means, here are fairly simple instructions on setting up a 4GB swapfile on Ubuntu: https://tecadmin.net/enable-swap-on-ubuntu/

from invidious-updater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.