Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR FrankenPHP asset not found. #1276

Closed
pushpak1300 opened this issue Dec 20, 2024 · 4 comments · Fixed by #1282
Closed

ERROR FrankenPHP asset not found. #1276

pushpak1300 opened this issue Dec 20, 2024 · 4 comments · Fixed by #1282
Labels
bug Something isn't working

Comments

@pushpak1300
Copy link

What happened?

https://github.com/laravel/octane/blob/2.x/src/Commands/Concerns/InstallsFrankenPhpDependencies.php#L64

is breaking octane install command

Because of the latest version release and missing x86_64 build

Build Type

Standalone binary

Worker Mode

Yes

Operating System

GNU/Linux

CPU Architecture

x86_64

PHP configuration

php8.3

Relevant log output

No response

@pushpak1300 pushpak1300 added the bug Something isn't working label Dec 20, 2024
@amermchaudhary
Copy link

I can verify the bug. Facing the same problem. Laravel Octane expects an asset with the exact name frankenphp-linux-x86_64.

For anyone who needs a quick immediate workaround for laravel octane modify the following
File: vendor/laravel/octane/src/Commands/Concerns/InstallsFrankenPhpDependencies.php
Line number: 81
Change the ending of the url from latest to 187816876

@dunglas
Copy link
Owner

dunglas commented Dec 20, 2024

I re-started the failed pipeline. I hope the build will not fail this time.

@dunglas dunglas pinned this issue Dec 20, 2024
@brunostalo
Copy link

brunostalo commented Dec 20, 2024

I'm still getting the error

RuntimeException
FrankenPHP asset not found.
at vendor/laravel/octane/src/Commands/Concerns/InstallsFrankenPhpDependencies.php:125
121▕
122▕ return $path;
123▕}
124▕
➜ 125▕ throw new RuntimeException('FrankenPHP asset not found.');
126▕}
127▕
128▕ /**
129▕ * Ensure the installed FrankenPHP binary meets Octane's requirements.
+15 vendor frames
16 artisan:13
Illuminate\Foundation\Application::handleCommand()

Have you found any solution?

My application runs on laravel.

A while ago I even managed to upload the binary but now it gives this error again.

@dunglas I noticed that it was working, did you have any success?

@pushpak1300
Copy link
Author

The build is still failing. @dunglas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants