9 months ago
Trying to edit json files while using using railyway cli ssh. bash says nano or vim can't be found. Can I not edit json config files?
Pinned Solution
9 months ago
If you really want to modify files in a volume, I'd suggest deploying a Filebrowser service, mounting your volume to that service, and downloading/uploading from there.
Otherwise, what talosdeus said. You're not supposed to directly edit application files through Railway SSH.
2 Replies
Status changed to Awaiting Railway Response Railway • 9 months ago
9 months ago
You are not supposed to edit .json files in ssh. You should use ssh only for debugging. This is because if you redeploy your config file is going to be overwritten. Unless you are talking about externally attached storage.
9 months ago
If you really want to modify files in a volume, I'd suggest deploying a Filebrowser service, mounting your volume to that service, and downloading/uploading from there.
Otherwise, what talosdeus said. You're not supposed to directly edit application files through Railway SSH.
Status changed to Solved 0x5b62656e5d • 23 days ago