root
root
Explore posts from servers
RRailway
Created by root on 2/7/2024 in #✋|help
Nextcloud reverse proxy configuration
(from https://discord.com/channels/713503345364697088/727689277219012669/1204859454462369833) (cc @Vin @Brody) Nextcloud needs to be told that it's behind a reverse proxy, and what reverse proxy it's behind. I'm not sure how to do this without terminal access.
22 replies
RRailway
Created by root on 2/3/2024 in #✋|help
Deploy logs not showing
No description
3 replies
FFilament
Created by root on 10/18/2023 in #❓┊help
Client-Side Modals
Is is possible to use notifications and actions entirely on the client side with JavaScript? I have some data that I don't need on the server and that I'd rather not send over the net, but I'd like to do stuff with it with Filament components.
5 replies
RRailway
Created by root on 7/11/2023 in #✋|help
Setting a start command for a Docker service
I'm trying to set up SurrealDB, which requires using surreal start <database path> as a start command. The problem is, it's now stuck in "Deploying". Project ID: ab2b3cb5-9d04-4621-80ad-fd4850d3850d
20 replies
RRailway
Created by root on 5/18/2023 in #✋|help
Discord bot crashed with no logs
6 replies
RRailway
Created by root on 5/18/2023 in #✋|help
Dual-purpose post: proxies & ultraviolet banned?
@joeyygffffdf here's a thread
25 replies
RRailway
Created by root on 5/15/2023 in #✋|help
Hello, testing
Please ignore
5 replies
RRailway
Created by root on 4/23/2023 in #✋|help
Postgres: random inexplicable OOM
Project ID: N/A (any of them) When trying to run the query SELECT table_name FROM information_schema.tables WHERE table_schema = 'public' on any database, it gives an out-of-memory error. When I add a semicolon, my app segfaults. A snippet of my code:
public Gtk.Widget overview_page() {
var box = new FlowBox();
box.append(info_card("Properties",
URL: connection.url));
GLib.print("hi\n");
var tables_box = new Box(VERTICAL, 2);
GLib.print("hi\n");
var tables = db.exec("SELECT table_name FROM information_schema.tables WHERE table_schema = 'public'");
GLib.print("hi\n");
var status = tables.get_status();
GLib.print(db.get_error_message());
foreach_result(tables, (i, j, v) => {
if(j == 0) {
tables_box.append(new Label(v));
}
});

box.append(titled_section("Tables", VERTICAL, tables_box));
return box;
}
public Gtk.Widget overview_page() {
var box = new FlowBox();
box.append(info_card("Properties",
URL: connection.url));
GLib.print("hi\n");
var tables_box = new Box(VERTICAL, 2);
GLib.print("hi\n");
var tables = db.exec("SELECT table_name FROM information_schema.tables WHERE table_schema = 'public'");
GLib.print("hi\n");
var status = tables.get_status();
GLib.print(db.get_error_message());
foreach_result(tables, (i, j, v) => {
if(j == 0) {
tables_box.append(new Label(v));
}
});

box.append(titled_section("Tables", VERTICAL, tables_box));
return box;
}
(ignore the debugging™️)
3 replies
RRailway
Created by root on 3/13/2023 in #✋|help
domains went poof
Project ID: 5174fbe2-5bf0-48bf-b7ed-fcaa0f75c370 I have two services, a Nuxt app and an Apollo GraphQL server. Up until a couple of minutes ago, they both had domains. Now they don't. I didn't touch anything, so I don't know what happened.
13 replies
RRailway
Created by root on 3/11/2023 in #✋|help
IPv6
Project ID: N/A Does Railway support serving apps on IPv6? I'm mostly just curious.
24 replies
RRailway
Created by root on 3/4/2023 in #✋|help
better-sqlite3 build error
cc @shour
31 replies
RRailway
Created by root on 2/6/2023 in #✋|help
Spring Boot: "no main manifest attribute"
Project ID: 56d9c164-0476-4afa-a370-4f5fa5bb0520 I'm trying to deploy a Spring Boot application, and the deploy logs say "no main manifest attribute, in build/libs/<project>.jar". This seems similar to <#1042504739323138119>. I've already tried setting both springBoot.mainClass and bootJar.mainClass in my build.gradle, but neither worked.
9 replies
RRailway
Created by root on 12/4/2022 in #✋|help
Logs not showing & docker not caching
Project ID: 6935b899-6cdf-43f9-b604-1e667b9b80b3 The problem: I'm logging a bunch of stuff to stdout, but it's not showing up in the deploy logs. Not a problem, just wondering: Why is Docker not caching the first command in my Dockerfile? It shouldn't depend on anything, should it? Here's my Dockerfile:
FROM quay.io/fedora/fedora:37

RUN dnf install -y meson ninja-build wget gcc git vala glib-devel libsoup3-devel libgee-devel json-glib-devel libpq-devel

ADD . /app
WORKDIR /app

ARG DATABASE_URL
ENV DATABASE_URL=${DATABASE_URL}

RUN git clone https://github.com/aleksrutins/vala-console subprojects/vala-console
RUN meson builddir -Dbuild_server=true -Dbuild_client=false && ninja -C builddir

ARG SECRET_KEY
ENV SECRET_KEY=${SECRET_KEY}

ARG PORT
ENV PORT=${PORT}

CMD [ "/app/builddir/server/valapkg-server" ]
FROM quay.io/fedora/fedora:37

RUN dnf install -y meson ninja-build wget gcc git vala glib-devel libsoup3-devel libgee-devel json-glib-devel libpq-devel

ADD . /app
WORKDIR /app

ARG DATABASE_URL
ENV DATABASE_URL=${DATABASE_URL}

RUN git clone https://github.com/aleksrutins/vala-console subprojects/vala-console
RUN meson builddir -Dbuild_server=true -Dbuild_client=false && ninja -C builddir

ARG SECRET_KEY
ENV SECRET_KEY=${SECRET_KEY}

ARG PORT
ENV PORT=${PORT}

CMD [ "/app/builddir/server/valapkg-server" ]
4 replies
RRailway
Created by root on 11/30/2022 in #✋|help
org.postgresql.util.PSQLException SSL error Certificates do not conform to algorithm constraints
This happens when I try to connect to my Postgres database with kit/sql (which uses JDBC). (framework: https://kit-clj.github.io/)
8 replies
RRailway
Created by root on 11/29/2022 in #✋|help
Holaaa, alguien me puede explicar que es y los beneficios y los planes o si es gratuito ?
From @༺࿆☯⟬Ǩ~ɃȺĽĽ⟭☯༻࿆ El plan gratuito es gratuito, pero tu tienes que comprar el plan developer. El plan developer es gratuito por menos que $5.
9 replies
RRailway
Created by root on 11/3/2022 in #✋|help
Boost CMake config being weird
Project ID: a302573a-79c5-49ff-b45f-10042279fe19 Code: https://github.com/aleksrutins/litelytics (currently re-rewriting) Relevant logs:
#11 0.688 -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0")
#11 0.701 -- Could NOT find Boost: missing: system (found /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.64"))

#11 0.688 -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0")
#11 0.701 -- Could NOT find Boost: missing: system (found /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.64"))

What does this even mean? (note: this is my first real proper actual C++ project, and my absolute first with CMake.)
3 replies
RRailway
Created by root on 10/22/2022 in #✋|help
Rocket app gives a server error
Project ID: a302573a-79c5-49ff-b45f-10042279fe19 Code: https://github.com/aleksrutins/litelytics My app works fine locally, but when I try to deploy it to Railway, it doesn't work and doesn't log anything either.
18 replies
RRailway
Created by root on 8/15/2022 in #✋|help
Clarification regarding execution hours
18 replies