No data is being written to the file

Hi all. When I start my telegram bot, I log messages. All messages are written to a text document. Well, they should be written, but this does not happen. Locally everything is fine, but this does not happen during deployment. Reading data from a file is also ok. Can I fix this within GitHub and Railway?

Project ID: ea26c159-4e9b-46b6-af20-367023c4d0ab
what makes you think it doesn't happen?
When I look at the log files on GitHub it's empty
that's unfortunately just not how it works, it's not two ways
you'll want to store this text document in bucket storage like cloudflare r2
or even a database that railway offers

Looking for more? Join the community!

Recommended Posts
Build failed but not sure whyHi! I'm trying to understand why my build failed, and I can't discern any errors in the logs. Here'sOne service is unable to connect to Postgres container, while the other connects fineHi, I have two typescript services and a postgres service in a project. One of the typescript servicGo Deploy Gone WrongHey all, need a sanity check on a failing deploy. I am able to build and run my app locally just finNeed Help with Discord BotThe bot uses chatgpt and play.ht to generate text, and then read the text in a discord server. When Deploying without having to do npx playwright install-depsHello, I'm deploying a node.js application that is using playwright, and it needs some dependencies Nuxt 3 DeployHi, has anyone done nuxt 3 deploy yet? What do I have to set? Is there a specific setting in nuxt.co'The information you’re about to submit is not secure'I have a very simple fastAPI page that I just began hosting through github on railway. It has a textPayment shows unsuccessful even though it's notHello, I got an email today morning about last month usage (1 Aug - 1 Sep) payment shows unsuccessfDeployment issues in Spring Boot projectHello, I am a newcomer using the Hobby Plan. My project is built on the Spring Boot platform and runBackup DatabaseHi, is it possible to perform or schedule database backups on railway? If so, could you explain howIssuing TLS certificate ongoing for 4 days nowHey folks, I've added a CNAME dns on my domain on Monday, and then it changed the status on the railfrontend web app making requests to wrong endpointOn my frontend web app I have a env variable configured to be the endpoint of my application but wheI have run graphql api for railway, I want to know how I can add custom domain by using this api.from the graph ql api, I can query project info and add plugins to project. But I do not know how toIs there an easy way to pause a project?Hello, we have a secondary development environment that we need for testing every once in a while. Ideployed flowise bot, no url generatedI have deployed a flowise bot and I have a hobby tier on railway. The issue is that after the deployDoes anyone know how to enable mongoDB drivers in a php/laravel project?Y tried to added with this command in the env tab NIXPACKS_PKGS=php81Extensions.mongodb But it still