VoiceOfSoftware
After migration to MySQL v2, want to restart MySQL service
With the old MySQL plugin, I regularly restarted MySQL in order to reduce memory usage (to free up resources for other users, and to reduce my own monthly costs).
After migrating to MySQL v2, I don't see a restart option. Has it moved?
8 replies
I see a message "Migrate your plugin to a V2 database", but don't know what that is
I have googled for it, searched in Railway help, searched in KB, can't find any docs. Would be really nice if there was a link to docs right there inside the "Migrate your plugin to a V2 database" message, so people know what it is.
I'm afraid to click the button, for fear of something breaking, or losing features that I currently enjoy in my current config.
56 replies
Cannot create code snapshot right now
Cannot create code snapshot right now, please review your last commit or try again
If this error persists, please reach out to Railway team
I see this was resolved a few days ago, but it's happening for me right now
7 replies
Is MySQL unreachable from external IPs?
ProjectID: b855592c-9156-4020-9543-d41a4e939fde
My production MySQL instance is working fine, but dev cannot be reached from outside. Interestingly, I can query its data from within Railway's dashboard.
2023-06-22T16:20:17.727397Z 21 [Warning] [MY-012111] [InnoDB] Trying to access missing tablespace 238
connect ECONNREFUSED 34.145.0.92:7165
Error: connect ECONNREFUSED 34.145.0.92:7165
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16)
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17
6 replies
Application failed to respond. NodeJS server seems to be down. MySQL fine
Hi, my production server went down around 5:18pm Pacific. Still down, getting the 'Application failed to respond" message. Dev server is running fine. My logs are not appearing in the deployment logs.
28 replies
My site was unavailable yesterday for about an hour; how to troubleshoot?
I'm not sure how to begin troubleshooting. I have a NodeJS SvelteKit website with Railway's MySQL. I'm using Prisma intermixed with pooled mysql2 for database access. I'm exposing an API to an external service that calls my endpoint. A couple times a month, the API becomes unresponsive for maybe an hour.
I see no logs that would indicate the site or MySQL was down. In fact, I see very few logs at all on the Railway dashboard.
How do I go about troubleshooting this? Am I losing pooled connections, or perhaps not closing connections? Running out of RAM? Do I need to wrap some exception handling somewhere? Where do I go to see server logs, or do I need to do something special to write logs?
20 replies
Crash when deploying SvelteKit + Lucia...works on localhost
Of COURSE it works on localhost; doesn't it always 😉
I'm getting the following logs after attempting to deploy to Railway. This is my first post here, so I'm not sure which project id you need. https://railway.app/project/b855592c-9156-4020-9543-d41a4e939fde -- it's called "troubled-finger" on my dashboard
I built a SvelteKit + MySQL + Lucia (a new authentication library for SvelteKit, based on Prisma). I did not use the Railway Prisma template, I just used a regular NodeJS to start.
Everything was deploying fine up until I added this new Prisma-based Lucia library. Runs great on localhost, but crashes on deploy.
node build/index.js
file:///app/build/server/chunks/lucia-06ea1b47.js:24534
import_path.default.join(dirname, "../query-engine-darwin");
^
ReferenceError: dirname is not defined in ES module scope
This file is being treated as an ES module because it has a '.js' file extension and '/app/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
at file:///app/build/server/chunks/lucia-06ea1b47.js:24534:27
at file:///app/build/server/chunks/lucia-06ea1b47.js:36565:3
at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:533:24)
at async Server.init (file:///app/build/server/index.js:2926:22)
at async file:///app/build/handler.js:16001:1
2 replies
SvelteKit template invalid GitHub URL
New to Railway; trying to deploy a simple Node+MySQL starter app with the latest SvelteKit. https://railway.app/new/template/svelte-kit shows an error message saying the GitHub URL is invalid
6 replies