Build fail
romirieg
PROOP

4 months 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.

{20A22813-1E97-4403-956E-E721E84D7E64}.png

Seems to be a Railway problem?

Best regards,

Romina

Attachments

Solved$20 Bounty

3 Replies

Railway
BOT

4 months 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 • 4 months 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?


lleywyn
PRO

4 months 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.


romirieg
PROOP

4 months ago

Thank you so much! Even though I am not using a Dockerfile, the command worked for some reason.


Status changed to Solved romirieg • 4 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...