No such file or directory
Has anyone ever caught this error? It's a C# .Net 6 API and my endpoint that's giving an error is an OCR for reading an image, so it gives an error since local works... can I run a sudo command on the server? in the ocr documentation it says that I need to execute the command on the server, but I don't know where to do it.. 6a35db84-51a0-441e-b866-a5aadc937368https://ironsoftware.com/csharp/ocr/how-to/tesseract-ocr-setup-linux-ubuntu-debian/
65 Replies
Project ID:
6a35db84-51a0-441e-b866-a5aadc937368
this is a primarily english speaking community, if you could, please use english
that was fast
what sudo command do you want to run?
I think this one, I don't know if it will work..
missing dependencies it seems.
use a dockerfile to install your dependencies.
see if this docker image makes sense to you https://hub.docker.com/r/jitesoft/tesseract-ocr/
or use nixpacks.toml too
Configuration File Reference | Nixpacks
App source + Nix packages + Docker = Image
add this to a nixpacks.toml file in your project
lol
,-,
add a nixpacks.toml file to your project with that in it
add file in my project but it didn't change anything about the error... it's impossible to run sudo, right?
correct, but that file should have done the same thing
build logs please https://bookmarklets.up.railway.app/log-downloader/
build logs please
I don't know if it was but I put it here too
build logs please
please use that tool
I don't know if it was ...
use the tool please
Cara, @trabalho
Salva o link escrito 'Download Logs' dentro de https://bookmarklets.up.railway.app/log-downloader/ como favorito
Vai no teu serviço do railway, abre o Build Logs e clica nesse favorito que tu acabou de salvar, ele vai baixar um arquivo de Logs que é oque o @Brody está pedindo.
Esse suporte é totalmente em inglês, use um tradutor ou chame algum colega que saiba
(sorry for the ping brody, just explaining to him the english support)
i translated that and its wrong lol
read the 3 steps on the site please
mb, wrote in a hurry
all fixed
upload
what?
I think it was, the screen refreshed
what?
does this work on chrome?
yes
nothing happens
you did something wrong, remove the bookmarklets and try again
https://bookmarklets.up.railway.app/log-downloader/
read the instructions
🥵 🥵 🥵 🥵 🥵 🥵 🥵 🥵 🥵 🥵
your build logs are too long, just show me the build table at the top
that?
please do this
added to the project
that says .txt
ooohh
sorry
and so does your .json file
you gotta slow down and read stuff
Is it possible to browse the folders?
the mass?
what folders
I wanted to see the contents of the project folder after it was compiled, see the dlls files
compile it locally and look then
site works normally, but the published version still has errors
^
Have already done
then you're gonna have to move to a Dockerfile based build
hmm ok ,I'll see, I've never touched Docker
dockerfile*
hey how's it going? , I created an image in docker and put it in the railway app but when it loads the url it gives the error:'Application failed to respond'
Do I have to do any more configuration? Can you tell me how to do it?
I tested changing the PORT variable with 3000, 5000, 7007 and none of the links worked...
I'm finding it strange how long it takes to deploy, it's very quick, when you publish git repository it takes 4 minutes
you are listing on port 80, you should be listening on the PORT environment variable, please take your time to read this page
https://docs.railway.app/troubleshoot/fixing-common-errors
do not just set PORT to 80
@trabalho ^
The reason why it takes so long to deploy is because it's not just deploying. Railway is building a whole environment (nixpacks or Docker) to host your app
If you look at your deployment log timestamps, the actual deployment takes 1 second
Hi Brody, how are you? Is it possible to create two frontend projects with the same url in both projects? I wanted to leave the front login system separate and another website presenting the project 1 website would be www.myproject.com and another www.myproject.com/login
I can't think of a straight forward way to do that, sorry
it would likely not be worth the complexity
I wanted to separate the project, but that's okay, I'll do everything in a single project