Skip to content

[Question] Debian 12 does not have shards command #4797

@tunloop

Description

@tunloop

Describe the bug
Following the instructions for manual set up here: https://docs.invidious.io/installation/#install-the-dependencies
I attempted to compile invidious, but it seems shards command is not available on Debian 12.

Steps to Reproduce
Logs

# su - invidious
$ cd invidious
$ ls -l
total 188
drwxr-xr-x 7 root root  4096 Jul 18 11:31 assets
-rw-r--r-- 1 root root 72991 Jul 18 11:31 CHANGELOG_legacy.md
-rw-r--r-- 1 root root   921 Jul 18 11:31 CHANGELOG.md
drwxr-xr-x 4 root root  4096 Jul 18 11:31 config
drwxr-xr-x 2 root root  4096 Jul 18 11:31 docker
-rw-r--r-- 1 root root  1691 Jul 18 11:31 docker-compose.yml
-rw-r--r-- 1 root root   335 Jul 18 11:31 invidious.service
drwxr-xr-x 2 root root  4096 Jul 18 11:31 kubernetes
-rw-r--r-- 1 root root 34519 Jul 18 11:31 LICENSE
drwxr-xr-x 2 root root  4096 Jul 18 11:31 locales
-rw-r--r-- 1 root root  2314 Jul 18 11:31 Makefile
drwxr-xr-x 2 root root  4096 Jul 18 11:31 mocks
-rw-r--r-- 1 root root  6852 Jul 18 11:31 README.md
drwxr-xr-x 2 root root  4096 Jul 18 11:31 screenshots
drwxr-xr-x 3 root root  4096 Jul 18 11:31 scripts
-rw-r--r-- 1 root root  1037 Jul 18 11:31 shard.lock
-rw-r--r-- 1 root root   768 Jul 18 11:31 shard.yml
drwxr-xr-x 4 root root  4096 Jul 18 11:31 spec
drwxr-xr-x 4 root root  4096 Jul 18 11:31 src
-rw-r--r-- 1 root root    47 Jul 18 11:31 TRANSLATION
-rw-r--r-- 1 root root  1395 Jul 18 11:31 videojs-dependencies.yml
$ make
shards install --production
make: shards: No such file or directory
make: *** [Makefile:41: get-libs] Error 127
$ exit
# apt list crystal
crystal/stable,now 1.6.0+dfsg-3 amd64 [installed]
# find / -iname *shard*
/home/invidious/invidious/shard.lock
/home/invidious/invidious/shard.yml
/usr/lib/crystal/lib/compiler/crystal/tools/init/template/shard.yml.ecr

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested by the author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions