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
update v0.2 support thread: check the release notes and the readme. #275
Comments
Yes, as the message says, you have a missing required environment variable. Check the release notes, it's all documented there: https://github.com/tubearchivist/tubearchivist/releases/tag/v0.2.0 EDIT: And for elastic search, it looks like it's the permission error as described in the readme. |
Thank you for the quick response. The container of tubearchivist, ok, just add the line - TA_HOST:ip:port He wait elasticsearch now. I try to fixe the permission. Thank you |
What did you set as the |
edit: nvm I'm dumb, it's supposed to be the ip where it runs not ips where I access TA from... I am getting 400 Bad request too, TA_HOST is: |
Oh, I had copied and pasted the address of the subdomain with the port. After removing the port, everything works again. Thank you very much for the support & for all this work/application. |
The documentation indicates that if we leave it like this, the migration will happen automatically. Is it like that with you? archivist-es: |
@birdwing: As the message says, update your Elasticsearch to version 8, or use |
@hugalafutro: You are right, that might not be clearly formulated and I can see how you came to that conclusion. Do you have a better wording? |
@bbilly1 English is not my 1st language so I often confuse stuff like this - maybe I'm not the best to ask :D I guess something like "Set TA_HOST to hostname (FQDN or IP) of the system running TA", but as I said that might be just needlessly complicating it as I might be in the crowd of my own misrepresenting the whole thing. |
Just type YOUR ip or domain like this: Without the port :) Don't do my mistake ^^ |
I am using bbilly1/tubearchivist-es |
Have you deploy the container after? For the migration. |
Wait... I'm an idiot nevermind. /Facepalm |
happens to the best of us XD |
I'm an idiot too. I update the app with Yacht without read the doc -_-' Have a nice day |
Thanks! |
OK, from your input, slightly better wording in the readme:
All in all, always read the release notes, make sure you pull both Elasticsearch and Tubearchivist and most importantly, stay cool and carry on. :-) Let's keep this open for a day or two, just in case others stumble over the same things. |
I'm also encountering issues with the new environment variable. If I use my default reverse proxy settings and set If I set it to FQDN, and have If I set it to the internal IP and access it directly, everything works fine. I've tried a variety of proxy configuration headers (shown below) but they all result in a 403 "CSRF verification failed" page, with no actual errors in the logs (NGINX or TA). Do you know what exactly is being checked for CSRF, or what settings might be required? Thanks!
|
I have a similar problem to vityav. I'm trying to serve TubeArchivist 0.2.0 on my domain via caddy-docker-proxy but I totally can't crack it. localhost works but my hosted version doesn't (error I installed TubeArchivist for the first time just today. I'm on the latest Docker on WSL2 Ubuntu. version: '3.3'
services:
tubearchivist:
container_name: tubearchivist
networks:
- caddy
labels:
caddy: youtube.example.com
caddy.reverse_proxy: "{{upstreams 5678}}"
restart: unless-stopped
image: bbilly1/tubearchivist
ports:
- 5678:8000
volumes:
- /mnt/d/Media/YouTube:/youtube
- cache:/cache
environment:
- ES_URL=http://archivist-es:9200 # needs protocol e.g. http and port
- REDIS_HOST=archivist-redis # don't add protocol
- HOST_UID=1000
- HOST_GID=1000
- TA_HOST=localhost youtube.example.com # set your host name
- TA_USERNAME=tubearchivist # your initial TA credentials
- TA_PASSWORD=verysecret # your initial TA credentials
- ELASTIC_PASSWORD=verysecret # set password for Elasticsearch
- TZ=Europe/Rome # set your time zone
depends_on:
- archivist-es
- archivist-redis
archivist-redis:
image: redislabs/rejson # for arm64 use bbilly1/rejson
container_name: archivist-redis
networks:
- caddy
restart: unless-stopped
expose:
- "6379"
volumes:
- redis:/data
depends_on:
- archivist-es
archivist-es:
image: bbilly1/tubearchivist-es # only for amd64, or use official es 8.3.2
container_name: archivist-es
networks:
- caddy
restart: unless-stopped
environment:
- "xpack.security.enabled=true"
- "ELASTIC_PASSWORD=verysecret" # matching Elasticsearch password
- "discovery.type=single-node"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ./volumes/es:/usr/share/elasticsearch/data # check for permission error when using bind mount, see readme
expose:
- "9200"
volumes:
cache:
redis:
es:
networks:
caddy:
external: true |
For reverse proxy setup, reach out on Discord, there is a #support thread going for that. Hopefully somebody with expertise can help. |
Turns out that Caddy wants the og container port (8000) and not the mapped one I chose (5678). It just works great now with this little change: networks:
- caddy
labels:
caddy: ta.example.com
caddy.reverse_proxy: "{{upstreams 8000}}" |
Sorry, did not find an answer anywhere else: Will the new features (Indexed subtitles, Sponsorblock, ...) be available for already downloaded videos? |
Depending on your settings. You can activate sponsor block and subtitle indexing from the settings page. If you do that after downloading them, these things didn't get indexed, but they will with the Refresh metadata task: https://github.com/tubearchivist/tubearchivist/wiki/Settings#refresh-metadata Edit: reading your message again, maybe you are talking about the manual import? Manual import will index everything based on your configurations. So activate that before you start the process. Or reach out on Discord if I misunderstood you. |
Hi,
What is your error?
After the last upgrade the app won't launch
How to reproduce?
Just update the app
[archivist-redis]: ok
[archivist-es]:
SOLUTION:
chown 1000:0 /path/to/mount/point
of elasticsearch[tubearchivist]:
SOLUTION: add TA_HOST in the yml
TA_HOST=YOUR_IP
or
TA_HOST=YOUR_DOMAIN
Like this:
Have a nice day!
The text was updated successfully, but these errors were encountered: