25 days ago
Hi,
my deployment started failing just now. In code comparison I saw that the error message showed "no releases available for package "pecl.php.net/redis", but in the release a few minutes earlier it installed them just fine.
Seems to be a Railway problem?
Best regards,
Romina
Attachments
3 Replies
25 days ago
This thread has been opened as a public bounty so the community can help solve it. The thread and any further activity are now visible to everyone.
Status changed to Open Railway • 25 days ago
25 days ago
Did some research on this. It appears the issue is caused by outdated package channels. If you are using a Dockerfile you can just add a command to update the package channels using: pecl channel-update pecl.php.net before installing redis. If you aren't using a Dockerfile, can you provide more information about your setup?
23 days ago
no releases available for package "pecl.php.net/redis" is stale PECL channel metadata, not railway. the pecl channel cache went out of date so it cant find the redis release. in your dockerfile, run a channel update right before installing:
pecl channel-update pecl.php.net && pecl install redis
that refreshes the package list and the install works again. if its intermittent its pecl's mirrors being flaky, the channel-update fixes it either way.
22 days ago
Thank you so much! Even though I am not using a Dockerfile, the command worked for some reason.
Status changed to Solved romirieg • 22 days ago
