Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Following migration guide results in bin/config/make-config: No such file or directory #247

Open
bean5 opened this issue Sep 15, 2022 · 3 comments

Comments

@bean5
Copy link

bean5 commented Sep 15, 2022

Expected
This just works OR is marked as deprecated at https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-static

Actual
Not marked directly as deprecated.

Background
I started using this project just to find out it is deprecated and then discover that the conversion steps are broken. That's lost work for me for a new projects. At least I failed fast. I could have failed faster, though, if the project was labeled clearly as deprecated on heroku website itself. In github it is marked as deprecated and at run-time it is marked. On heroku, though, it is not.

Usually heroku tools are so easy for me to use, I have come to expect that it just works without much reading. This one surprised me. I think there is an easy fix hiding around here.

Rather than fix, perhaps it is time to just mark this as deprecated at https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-static. I

This is what is being outputted when I use this:

remote:        ## WARNING: `heroku-buildpack-static` is deprecated
remote: 
remote:        This buildpack is deprecated and is no longer being maintained.
remote:        If you are using this project, you can transition over to NGINX via an NGINX buildpack.
remote:        Use your project's existing configuration.
remote:        To find the NGINX configuration generated by the heroku-buildpack-static you can run:
remote: 
remote:        ```
remote:        $ heroku run bash
remote:        ~ $ bin/config/make-config
remote:        ~ $ cat config/nginx.conf
remote:        ```
@zuehlke-silo
Copy link

Same

@geralddevelop
Copy link

hi do you have any solution to this?

@edmorley
Copy link
Member

Hi!

The bin/config/make-config script mentioned in the conversion steps does exist - but it requires that your app have been built at least once with this buildpack first. It's intended to be a way to migrate an existing app to the NGINX buildpack, not a way to start using NGINX from scratch for a new app.

Regarding https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-static being out of date - thank you for letting us know, I'll pass the message on to the team that owns that site. I presume some sync process isn't working as expected - the content there comes from the GitHub repo, and the GitHub repo was updated to mention the deprecation long ago.

@edmorley edmorley changed the title Project is referencing bin/config/make-config but that does not exist. Following migration steps results in bin/config/make-config: No such file or directory Nov 1, 2023
@edmorley edmorley changed the title Following migration steps results in bin/config/make-config: No such file or directory Following migration guide results in bin/config/make-config: No such file or directory Nov 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants