Skip to content

[Bug] Error 2 during installation #5451

@miroppb

Description

@miroppb

I reported this in tmiland/invidious-updater#132, but I think the issue is with Invidious and not Invidious-Updater.

Describe the bug
I'm unable to install Invidious on a fresh installation of Ubuntu. I use default settings, but I'm getting the following errors:

Running makefile                                                        [ERROR]
Failed with error: 2                                                    [  ✘  ]

[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:


In src/ext/kemal_static_file_handler.cr:167:49

 167 | directory_listing(context.response, request_path, file_path)
                                           ^-----------
Error: expected argument #2 to 'Kemal::StaticFileHandler#directory_listing' to be Path, not String

Overloads are:
 - HTTP::StaticFileHandler#directory_listing(io : IO, request_path : Path, path : Path)
make: *** [Makefile:54: invidious] Error 1
make: Leaving directory '/home/invidious/invidious'
Running makefile: [2025-09-06 19:58:19 UTC] [ERROR] Failed with error: 2
[2025-09-06 19:58:19 UTC] [ERROR] Something went wrong. Exiting.
[2025-09-06 19:58:19 UTC] [ERROR] The last few log entries were:
Installing Invidious Service

On a fresh installation of Ubuntu 24.04.3:

  • sudo passwd root (Set password)
  • su root (Typed in password)
  • curl -sSL https://github.com/tmiland/Invidious-Updater/releases/latest/download/invidious_update.sh > invidious_update.sh && chmod +x invidious_update.sh && ./invidious_update.sh -i

Desktop (please complete the following information):

  • OS: Ubuntu 24.04.3 in VirtualBox on Windows 11

I was able to install it once, but then I tried to do it again, and it wouldn't work. I've reset Ubuntu multiple times, and tried different settings, nothing works

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions