meadowhawk
meadowhawk
RRailway
Created by meadowhawk on 4/8/2024 in #✋|help
Dockerfile based Template deletes volume on redeploy.
I have a working template that deploys my app and creates a volume to store data in.
I am seeing the volume get deleted when I click redeploy on the application. I'm doing this when the application code changes or I update the dockerfile. Is there a way to protect the volume from being deleted? Am I going about this in the wrong way?
18 replies
RRailway
Created by meadowhawk on 11/10/2022 in #✋|help
Converting Java app from Heroku Buildpack to Nixpacks
PID: 17ea4c42-9f2e-4000-9f45-4e8f49a32b4c Hi I am attempting to switch off the heroku builder but switching to Nixpack didn't go as expected. (all I did was change builder and run) The build exited with the following error
#8 ERROR: executor failed running [/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-a0b7e70db7a55088d3de0cc370a59f9fbcc906c3.nix && nix-collect-garbage -d]: exit code: 100

-----
> [stage-0 4/7] RUN nix-env -if .nixpacks/nixpkgs-a0b7e70db7a55088d3de0cc370a59f9fbcc906c3.nix && nix-collect-garbage -d:
-----
executor failed running [/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-a0b7e70db7a55088d3de0cc370a59f9fbcc906c3.nix && nix-collect-garbage -d]: exit code: 100

Error: Docker build failed
#8 ERROR: executor failed running [/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-a0b7e70db7a55088d3de0cc370a59f9fbcc906c3.nix && nix-collect-garbage -d]: exit code: 100

-----
> [stage-0 4/7] RUN nix-env -if .nixpacks/nixpkgs-a0b7e70db7a55088d3de0cc370a59f9fbcc906c3.nix && nix-collect-garbage -d:
-----
executor failed running [/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-a0b7e70db7a55088d3de0cc370a59f9fbcc906c3.nix && nix-collect-garbage -d]: exit code: 100

Error: Docker build failed
14 replies
RRailway
Created by meadowhawk on 8/27/2022 in #✋|help
Procfile failed for java
Hi, trying to import a heroku app into railway but I got an error when it runs the procfile. Contents below: web: java -Dserver.port=$PORT -jar ./build/libs/pidir-0.1.jar The error seems to indicate that java isn't on the class path, is this procfile approach not supported? Let me know if you'd like the see the logs Thanks!
4 replies