November 23, 20223 yr [Template only, I am not the container author/maintainer] Template: https://github.com/kilrah/unraid-docker-templates/raw/main/templates/libretranslate.xml Project: https://github.com/LibreTranslate/LibreTranslateRegistry: https://hub.docker.com/r/libretranslate/libretranslate Free and Open Source Machine Translation API, entirely self-hosted.You will need to create a "cache" and a "share" folder manually in the specified appdata folder manually before the container will run.First start takes a while as models are being downloaded. Edited February 9Feb 9 by Kilrah
November 24, 20223 yr Anything special that needs to be done on the setup? I am getting an error when trying to query libretranslate: POST / HTTP/1.1 Content-Type: application/json User-Agent: PostmanRuntime/7.29.2 Accept: */* Host: 192.168.0.99:5000 Accept-Encoding: gzip, deflate, br Connection: keep-alive Content-Length: 59 { "q": "Hello!", "source": "en", "target": "es" } HTTP/1.1 405 METHOD NOT ALLOWED Access-Control-Allow-Credentials: true Access-Control-Allow-Headers: Authorization, Content-Type Access-Control-Allow-Methods: GET, POST Access-Control-Allow-Origin: * Access-Control-Expose-Headers: Authorization Access-Control-Max-Age: 1728000 Allow: HEAD, GET, OPTIONS Content-Length: 153 Content-Type: text/html; charset=utf-8 Date: Thu, 24 Nov 2022 20:40:21 GMT Server: waitress <!doctype html> <html lang=en> <title>405 Method Not Allowed</title> <h1>Method Not Allowed</h1> <p>The method is not allowed for the requested URL.</p>
January 25, 20233 yr i think an updated image has been made available. @Kilrah would you mind updating this? thank you.
January 25, 20233 yr Author I only made the template, if the image is updated unraid will show you it's available and update.
January 22Jan 22 Author Still works the same from what I can see, it's on that "Booting" message as long as it isn't done downloading the 10GB of models.Said models used to be part of the image IIRC but they're now mappable to a folder so I updated the template to reflect that, they'll now be stored in appdata so won't bloat the Docker image anymore nor have to be downloaded again on each update.Uninstall and reinstall from CA to get the new template with the appdata folder. First start will still take a while as those 10GB get downloaded. Edited January 22Jan 22 by Kilrah
January 22Jan 22 Author No idea, I'd expect it does validate and update them if needed since mapping the folder is now part of the official instructions.Was always disappointed by the output so never really used it myself. Edited January 22Jan 22 by Kilrah
January 22Jan 22 Author Yeah I'm comparing with a locally run LLM, also all local but night and day difference
January 23Jan 23 Author 2 hours ago, NoRaid99 said:Another thing, yesterday I did create the libretranslate docker new and today unraid offers me a update.but there is no new releases.They did rebuild the container 18 hours ago indeed.https://hub.docker.com/r/libretranslate/libretranslate/tagsEvery time they build the container you'll get it updated, regardless of whether the application itself is a new version. Containers are a whole system environment, it needs its own maintenance too. Some projects rebuild containers daily regardless of any change. Edited January 23Jan 23 by Kilrah
February 9Feb 9 Author Looks like they changed some things and it's a pain now, try removing the "-u 99:100" in Extra parameters in Advanced view.
February 18Feb 18 I got the PermissionError: [Errno 13] Permission denied: '/home/libretranslate/.local/share' error after upgrading too."chown -R 1032:1032 /mnt/user/appdata/libretranslate" solved it for me.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.