CollinHeist / TitleCardMaker

Automated title card maker for Plex, Jellyfin, and Emby
https://titlecardmaker.com/
GNU General Public License v3.0
455 stars 22 forks source link

setup #444

Closed davetaste closed 6 months ago

davetaste commented 6 months ago

Installation

Docker - master tag

Describe your Problem

docker build -t "titlecardmaker:latest" . this gives me the following error

The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit:

I'm in the right dir. I cant find an answer

Screenshots

No response

Preference File

docker build -t "titlecardmaker:latest" .  this gives me the following error  

The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit:

I'm in the right dir. I cant find an answer

Series YAML

docker build -t "titlecardmaker:latest" .  this gives me the following error  

The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit:

I'm in the right dir. I cant find an answer

Debug Log

docker build -t "titlecardmaker:latest" . this gives me the following error

The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit:

I'm in the right dir. I cant find an answer

CollinHeist commented 6 months ago

@davetaste You'll have to provide some more detail. What directory are you typing this in? Is this after you did the git clone? Did you update/re-install your Docker installation?

davetaste commented 6 months ago

Hi Colin

Using the Wiki, https://titlecardmaker.com/getting_started/

I've done everything up until this point

Launching the Interface Docker Non-Docker

1.

Build the Docker image under the tag titlecardmaker:latest, by executing the following command: Linux MacOS Windows (Powershell) Windows (Non-Powershell)

<https://titlecardmaker.com/getting_started/#__codelineno-11-1>docker

build -t "titlecardmaker:latest" .

At this point it fails with the error.

Unriad CLI

Thanks,

Dan

On Wed, 13 Mar 2024 at 02:38, Collin Heist @.***> wrote:

@davetaste https://github.com/davetaste You'll have to provide some more detail. What directory are you typing this in? Is this after you did the git clone? Did you update/re-install your Docker installation?

— Reply to this email directly, view it on GitHub https://github.com/CollinHeist/TitleCardMaker/issues/444#issuecomment-1993198722, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3TAOTUMEDNT2F5RRN7UJUDYX634DAVCNFSM6AAAAABETISYN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJTGE4TQNZSGI . You are receiving this because you were mentioned.Message ID: @.***>

CollinHeist commented 6 months ago

Okay thanks. It looks like your version of Docker is perhaps too old, it is not supporting the build requirements of the container. What version of Docker and Unraid are you running?

davetaste commented 6 months ago

Thanks Colin.

I've attached the release notes for the Unraid build. It's the latest version.

I created the dir

Pulled from github.

It downloaded the files from github and put them in the directory.

I go back into cli.

Try and pull image.

Errors with the error.

Thanks

Dan.

On Wed, 13 Mar 2024, 18:31 Collin Heist, @.***> wrote:

Okay thanks. It looks like your version of Docker is perhaps too old, it is not supporting the build requirements of the container. What version of Docker and Unraid are you running?

— Reply to this email directly, view it on GitHub https://github.com/CollinHeist/TitleCardMaker/issues/444#issuecomment-1995302970, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3TAOTSIKY44VUET75BONRDYYCLOPAVCNFSM6AAAAABETISYN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJVGMYDEOJXGA . You are receiving this because you were mentioned.Message ID: @.***>

CollinHeist commented 6 months ago

I don't see any attachments - and I'm guessing the Docker version is more important than the OS version. What's your docker version (docker --version)?

A quick search online shows some potential solutions for all OS's - here is one for Unraid specifically.

davetaste commented 6 months ago

Thanks,

I can't get it to work. Can't get past this error. I'll come back in a few months. I had read both the links you sent before making contact. I've never actually reached out to anyone before or asked a question in a forum, I usually find my answer by looking, but I can't find the answer to this.

Thanks,

Dan.

On Thu, 14 Mar 2024 at 15:26, Collin Heist @.***> wrote:

I don't see any attachments - and I'm guessing the Docker version is more important than the OS version. What's your docker version (docker --version)?

A quick search https://duckduckgo.com/?q=Install+the+buildx+component+to+build+images+with+BuildKit&ia=web online shows some potential solutions for all OS's - here https://forums.unraid.net/topic/155522-can-no-longer-build-docker-images-after-update-to-6128/ is one for Unraid specifically.

— Reply to this email directly, view it on GitHub https://github.com/CollinHeist/TitleCardMaker/issues/444#issuecomment-1997719672, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3TAOTSNBRVSVOH7S5FFXITYYG6STAVCNFSM6AAAAABETISYN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJXG4YTSNRXGI . You are receiving this because you were mentioned.Message ID: @.***>

CollinHeist commented 6 months ago

If those links are any help, or if you have the time to check your Docker version, please let me know. I actually develop TCM on Unraid, so I know it works, it must just be some specific incompatibility - but I'm sure we can find a fix.

If you're able I am typically more responsive on the Discord, as well. Thanks

davetaste commented 6 months ago

Hi Docker build is 24.0.9it has always updated itself with Unraid updates I assume.

On Thu, 14 Mar 2024 at 18:22, Collin Heist @.***> wrote:

If those links are any help, or if you have the time to check your Docker version, please let me know. I actually develop TCM on Unraid, so I know it works, it must just be some specific incompatibility - but I'm sure we can find a fix.

If you're able I am typically more responsive on the Discord, as well. Thanks

— Reply to this email directly, view it on GitHub https://github.com/CollinHeist/TitleCardMaker/issues/444#issuecomment-1998066458, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3TAOTR27EVDLOXWAMPLYTLYYHTFTAVCNFSM6AAAAABETISYN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJYGA3DMNBVHA . You are receiving this because you were mentioned.Message ID: @.***>

davetaste commented 6 months ago

I've just had a look at the Discord and it looks like people asking questions and no one answering them. That's Discord in general though, to me it always looks a bit of a mess

On Fri, 15 Mar 2024 at 13:42, Dan Spare @.***> wrote:

Hi Docker build is 24.0.9it has always updated itself with Unraid updates I assume.

On Thu, 14 Mar 2024 at 18:22, Collin Heist @.***> wrote:

If those links are any help, or if you have the time to check your Docker version, please let me know. I actually develop TCM on Unraid, so I know it works, it must just be some specific incompatibility - but I'm sure we can find a fix.

If you're able I am typically more responsive on the Discord, as well. Thanks

— Reply to this email directly, view it on GitHub https://github.com/CollinHeist/TitleCardMaker/issues/444#issuecomment-1998066458, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3TAOTR27EVDLOXWAMPLYTLYYHTFTAVCNFSM6AAAAABETISYN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJYGA3DMNBVHA . You are receiving this because you were mentioned.Message ID: @.***>

davetaste commented 6 months ago

@.:~# cd /mnt/user/appdata/titlecardmaker @.:/mnt/user/appdata/titlecardmaker# docker build -t "titlecardmaker" DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/

"docker build" requires exactly 1 argument. See 'docker build --help'.

Usage: docker build [OPTIONS] PATH | URL | -

Build an image from a Dockerfile @.***:/mnt/user/appdata/titlecardmaker#

On Fri, 15 Mar 2024 at 13:52, Dan Spare @.***> wrote:

I've just had a look at the Discord and it looks like people asking questions and no one answering them. That's Discord in general though, to me it always looks a bit of a mess

On Fri, 15 Mar 2024 at 13:42, Dan Spare @.***> wrote:

Hi Docker build is 24.0.9it has always updated itself with Unraid updates I assume.

On Thu, 14 Mar 2024 at 18:22, Collin Heist @.***> wrote:

If those links are any help, or if you have the time to check your Docker version, please let me know. I actually develop TCM on Unraid, so I know it works, it must just be some specific incompatibility - but I'm sure we can find a fix.

If you're able I am typically more responsive on the Discord, as well. Thanks

— Reply to this email directly, view it on GitHub https://github.com/CollinHeist/TitleCardMaker/issues/444#issuecomment-1998066458, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3TAOTR27EVDLOXWAMPLYTLYYHTFTAVCNFSM6AAAAABETISYN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJYGA3DMNBVHA . You are receiving this because you were mentioned.Message ID: @.***>

davetaste commented 6 months ago

@.:~# # syntax=docker/dockerfile:1 FROM docker COPY --from=docker/buildx-bin /buildx /usr/libexec/docker/cli-plugins/docker-buildx RUN docker buildx version bash: FROM: command not found bash: COPY: command not found bash: RUN: command not found @.:~# # Buildx 0.6+ $ docker buildx bake "https://github.com/docker/buildx.git" $ mkdir -p ~/.docker/cli-plugins $ mv ./bin/build/buildx ~/.docker/cli-plugins/docker-buildx

Docker 19.03+

$ DOCKER_BUILDKIT=1 docker build --platform=local -o . " https://github.com/docker/buildx.git" $ mkdir -p ~/.docker/cli-plugins $ mv buildx ~/.docker/cli-plugins/docker-buildx

Local

$ git clone https://github.com/docker/buildx.git && cd buildx $ make install bash: $: command not found bash: $: command not found bash: $: command not found bash: $: command not found bash: $: command not found bash: $: command not found bash: $: command not found bash: $: command not found @.:~# $ docker buildx bake "https://github.com/docker/buildx.git" bash: $: command not found @.:~# $ docker run --name test --rm -it -v /var/run/docker.sock:/var/run/docker.sock \ -v /usr/bin/docker:/usr/bin/docker -v /usr/libexec/docker:/usr/libexec/docker \ -v /root:/root centos:7 /bin/bash $ docker buildx ls bash: $: command not found bash: $: command not found @.***:~#

On Fri, 15 Mar 2024 at 13:42, Dan Spare @.***> wrote:

Hi Docker build is 24.0.9it has always updated itself with Unraid updates I assume.

On Thu, 14 Mar 2024 at 18:22, Collin Heist @.***> wrote:

If those links are any help, or if you have the time to check your Docker version, please let me know. I actually develop TCM on Unraid, so I know it works, it must just be some specific incompatibility - but I'm sure we can find a fix.

If you're able I am typically more responsive on the Discord, as well. Thanks

— Reply to this email directly, view it on GitHub https://github.com/CollinHeist/TitleCardMaker/issues/444#issuecomment-1998066458, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3TAOTR27EVDLOXWAMPLYTLYYHTFTAVCNFSM6AAAAABETISYN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJYGA3DMNBVHA . You are receiving this because you were mentioned.Message ID: @.***>

CollinHeist commented 6 months ago

@.***:/mnt/user/appdata/titlecardmaker# docker build -t "titlecardmaker"

Is this the command you are running? I would check the docs again and triple check you are running the exact commands; that should be docker build -t "titlecardmaker:latest" .

davetaste commented 6 months ago

It's copied and pasted from the wiki. I'll check it against the command below.

Cheers

On Fri, 15 Mar 2024, 18:50 Collin Heist, @.***> wrote:

@.***:/mnt/user/appdata/titlecardmaker# docker build -t "titlecardmaker"

Is this the command you are running? I would check the docs again and triple check you are running the exact commands; that should be docker build -t "titlecardmaker:latest" .

— Reply to this email directly, view it on GitHub https://github.com/CollinHeist/TitleCardMaker/issues/444#issuecomment-2000258396, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3TAOTWREAK7BHONFS2SSALYYM7HHAVCNFSM6AAAAABETISYN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBQGI2TQMZZGY . You are receiving this because you were mentioned.Message ID: @.***>

davetaste commented 6 months ago

Tried exactly as written, including the space and full stop.

Tried without the full stop and space

Screenshot attatched

On Fri, 15 Mar 2024 at 18:54, Dan Spare @.***> wrote:

It's copied and pasted from the wiki. I'll check it against the command below.

Cheers

On Fri, 15 Mar 2024, 18:50 Collin Heist, @.***> wrote:

@.***:/mnt/user/appdata/titlecardmaker# docker build -t "titlecardmaker"

Is this the command you are running? I would check the docs again and triple check you are running the exact commands; that should be docker build -t "titlecardmaker:latest" .

— Reply to this email directly, view it on GitHub https://github.com/CollinHeist/TitleCardMaker/issues/444#issuecomment-2000258396, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3TAOTWREAK7BHONFS2SSALYYM7HHAVCNFSM6AAAAABETISYN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBQGI2TQMZZGY . You are receiving this because you were mentioned.Message ID: @.***>

CollinHeist commented 6 months ago

No attachments are included when you respond via email, can you try uploading them from the GitHub website?

davetaste commented 6 months ago

Attachments are being attached from my end as I can see it in the sent items that the email was sent with an attachment.

On Fri, 15 Mar 2024, 23:55 Collin Heist, @.***> wrote:

No attachments are included when you respond via email, can you try uploading them from the GitHub website?

— Reply to this email directly, view it on GitHub https://github.com/CollinHeist/TitleCardMaker/issues/444#issuecomment-2000694057, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3TAOTSOFKDZIMAIOZVLLW3YYOC5TAVCNFSM6AAAAABETISYN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBQGY4TIMBVG4 . You are receiving this because you were mentioned.Message ID: @.***>

davetaste commented 6 months ago

Screenshot_20240316-000006.png

davetaste commented 6 months ago

DS.png

CollinHeist commented 6 months ago

There we go, thanks 👍🏻

I can see in the first command (the one ending in .) that you are not in the installed TCM directory. You need to cd into and run commands in whatever directory you cloned TCM into, most likely /mnt/user/appdata/titlecardmaker/TitleCardMaker-WebUI.

davetaste commented 6 months ago

Thanks Colin. I had read it as the main installation directory as /mnt/user/appdata/titlecardmaker

and went back to that after creating this

enter your account Username and the PAT from Step 2. The TCM code will now be downloaded into a subdirectory named TitleCardMaker-WebUI.

Here the directory is referred to as a sub directory

and a couple of steps below it is referred to as the main installation directory

Navigate to the installation directory within the command line.

Within the main installation directory, create the required folder for TCM - this is config - by executing the following command:

It was my mis-reading of what the sub and main dir were. The buildx error was a red herring as there was no buildx error when in the correct dir which made me think it was a docker issue.

Thanks for your time,

CollinHeist commented 6 months ago

Yeah that is a bit confusing, and classic Docker not giving helpful errors like "Hey there's no Dockerfile, maybe check somewhere else!" 👎🏻

Glad we got it figured out. Let me know if you have any other issues, I'll close this for now