Deploy failed - no logs

Question:
I run @acemuzzy/confusle, hosted at https://confusle.positronicarts.com/ via DNS redirect. That’s all be fine up until a couple of days ago, when the age now loads showing

Replit Legacy Hosting has migrated to Deployments

To host your application, use Replit Deployments.

and not my actual web page!! Users are obviously a bit unhappy because service is unavailable, hence I am too!

Worse, clicking through to “Deployments” and trying it, it fails, and there are no logs.

Pressing “Run” and everything still looks fine, so it’s very unclear what the issue is, and hence I don’t have any real pointers as to how to fix it!

Finally, the pricing of the new “Deployments” doesn’t seem obvious. I don’t have a clear picture if my $7 pm will cover 1 VM, or 2, or what autoscale settings will cost.

Repl link/Link to where the bug appears:
https://replit.com/@acemuzzy/confusle

Screenshots, links, or other helpful context:

2024-01-06T14:20:38Z info: Pushing hosting layer...
2024-01-06T14:20:38Z info: Nix layers for this Repl are uncached.
2024-01-06T14:20:38Z info: Pushing nix-0 layer...
2024-01-06T14:20:38Z info: Created hosting layer
2024-01-06T14:21:16Z info: Created nix-0 layer
2024-01-06T14:21:16Z info: uploading image for cached layer
2024-01-06T14:21:16Z info: pushed cache image manifest
2024-01-06T14:21:17Z info: pushed cache soci index manifest
2024-01-06T14:21:17Z info: uploading cached layer
2024-01-06T14:21:17Z info: succesfully uploaded cached layer
2024-01-06T14:21:28Z info: Created Repl layer
2024-01-06T14:21:28Z info: Pushed image manifest
2024-01-06T14:21:29Z info: Pushed soci index manifest
2024-01-06T14:21:56Z info: Creating Autoscale service
2024-01-06T14:24:00Z error: The deployment failed to initialize due to a configuration or code error. Check the logs tab for more information. For additional support, please post on https://ask.replit.com/c/help/13 and a staff member will take a look.
2024-01-06T14:20:30Z info: Deployment: 3781c075-ec9b-4a06-8cb1-ab93b0f76cd6
2024-01-06T14:20:30Z info: Build: 32df8d6d-37ca-4d87-bddd-89d54d29e28f
2024-01-06T14:20:30Z info: Connecting to builder
2024-01-06T14:20:32Z info: Builder connected
2024-01-06T14:20:33Z info: Installing packages
2024-01-06T14:20:33Z info: Skipping Build as no Build command set
2024-01-06T14:20:33Z info: Pushing pid1 binary layer...
2024-01-06T14:20:34Z info: Created pid1 binary layer
2024-01-06T14:20:38Z info: Skipping Python layer creation
2024-01-06T14:20:38Z info: Skipping Node layer creation
2024-01-06T14:20:38Z info: Pushing Repl layer...
2024-01-06T14:20:38Z info: Pushing hosting layer...
2024-01-06T14:20:38Z info: Nix layers for this Repl are uncached.
2024-01-06T14:20:38Z info: Pushing nix-0 layer...
2024-01-06T14:20:38Z info: Created hosting layer
2024-01-06T14:21:16Z info: Created nix-0 layer
2024-01-06T14:21:16Z info: uploading image for cached layer
2024-01-06T14:21:16Z info: pushed cache image manifest
2024-01-06T14:21:17Z info: pushed cache soci index manifest
2024-01-06T14:21:17Z info: uploading cached layer
2024-01-06T14:21:17Z info: succesfully uploaded cached layer
2024-01-06T14:21:28Z info: Created Repl layer
2024-01-06T14:21:28Z info: Pushed image manifest
2024-01-06T14:21:29Z info: Pushed soci index manifest
2024-01-06T14:21:56Z info: Creating Autoscale service
2024-01-06T14:24:00Z error: The deployment failed to initialize due to a configuration or code error. Check the logs tab for more information. For additional support, please post on https://ask.replit.com/c/help/13 and a staff member will take a look.

If I press “Redeploy”

  • the same error repeats
  • a toaster icon says “Could not find run command”, even though pressing Run works fine

Hey @acemuzzy, This error seems to be a configuration error in the deployment settings. Please check that you have everything correct in your deployment settings before trying again.

Which deployment settings are you meaning, and any suggestions on how to get diagnostics off what the actual issue is, so I know what to fix?

The only options I saw were auto scale stuff. Being that, in terms of the code, nothing has changed from when this was previously fine - are there extra bits of config I’m expected to need??

Ah massive build stuff from https://docs.replit.com/hosting/deployments/migration-guide?

Ugh was trying to edit, meant to say maybe not massive, and now it’s closed the ticket sigh

OK, finally working. Added build command of

NODE_OPTIONS=--openssl-legacy-provider npm run build

and that brought it to life.

Now to sort DNS out, as the redirect form looks different… https://confusle-acemuzzy.replit.app/ is a go though as a workaround!

I also faced this error about 2 hours ago

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.