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

Unable to deploy to 1.0 #1805

Closed
sikhote opened this issue Jan 7, 2019 · 15 comments
Closed

Unable to deploy to 1.0 #1805

sikhote opened this issue Jan 7, 2019 · 15 comments

Comments

@sikhote
Copy link

sikhote commented Jan 7, 2019

I am attempting to deploy the following:

https://github.com/sikhote/dougpalm.com/commits/master

As you can see from commits, they were deploying successfully a few days ago (via GitHub and via CLI on computer). At the moment, I am seeing this when deploying:

$ now
> WARN! You are using an old version of the Now Platform. More: https://zeit.co/docs/v1-upgrade
> Deploying ~/Projects/dougpalm.com under sikhote
> Error! You tried to create a Now 1.0 deployment. Please use Now 2.0 instead: https://zeit.co/upgrade

Is this documented somewhere or was there notification this would change at a particular time? I saw a note in Spectrum that gave me a clue:
https://spectrum.chat/zeit/now?thread=5d1def00-3504-4618-9ef4-40d64e69f573

Responding to the Spectrum thread, which says that the error message is for new users: I have been using now for at least a month or two before this message.

@ghost
Copy link

ghost commented Jan 8, 2019

I am also having this error.
See my Spectrum thread here.

@paulogdm
Copy link
Member

paulogdm commented Jan 8, 2019

Hello! I'm truly sorry to see that you are facing issues. We are not allowing new users to deploy under Now V1. We believe the future is serverless, and even without some features, we are encouraging users to move to our new V2 platform when possible. We will document this shortly.

If you need assistance migrating, you can ask in our community or even email support@zeit.co

Please, let me know if you have any further inquiries.

@paulogdm paulogdm closed this as completed Jan 8, 2019
@sikhote
Copy link
Author

sikhote commented Jan 8, 2019

It is understandable to look to prevent more users from V1, but without a viable option for myself and others in this situation (blocked and trying to release a next+custom-node app), what are we to do, besides wait for an indeterminate amount of time before the V2 option is actually working? I suggest rolling back the V1 prevention until the V2 issues (https://github.com/zeit/now-examples/issues/196 and https://github.com/zeit/now-examples/issues/150) are resolved. Until then, I cannot change any current deployments. Is there another path? If I was using Now at work I would be a bit SOL it seems.

@houmanMP
Copy link

houmanMP commented Jan 17, 2019

I am facing this issue while trying to deploy from codesandbox.io:
https://api.zeit.co/v3/now/deployments?forceNew=1
HttpProviderError: "{"error":{"code":"legacy_deployment_not_allowed","message":"You tried to create a Now 1.0 deployment. Please use Now 2.0 instead: https://zeit.co/upgrade"}}"

@Aid19801
Copy link

I am also facing issues. Frustrating that you've "closed" this issue. Why would you close it if it remains very obviously unresolved?

@sikhote
Copy link
Author

sikhote commented Jan 25, 2019

There is now a guide/blog post for how to do server-side routing with Now 2...this was unknown to me before and resolves my issue.

@theoutlander
Copy link

Goodbye now!

@vanarok
Copy link

vanarok commented Jun 12, 2019

Goodbye

@mkvlrn
Copy link

mkvlrn commented Jun 14, 2019

Hello! I'm truly sorry to see that you are facing issues. We are not allowing new users to deploy under Now V1. We believe the future is serverless, and even without some features, we are encouraging users to move to our new V2 platform when possible. We will document this shortly.

This is what irks me about good platforms sometimes: someone somewhere makes a decision and suddenly the whole paradigm changes. This wouldn't be a problem if there was still a choice for the users, but forcing people to migrate "because future lol" is just bad form.

Clearly some people would like to still deploy using v1, like they've been doing for years without issues.

Indeed, goodbye, Now. Hello, Heroku.

@paulogdm
Copy link
Member

This is what irks me about good platforms sometimes: someone somewhere makes a decision and suddenly the whole paradigm changes. This wouldn't be a problem if there was still a choice for the users, but forcing people to migrate "because future lol" is just bad form.
Clearly some people would like to still deploy using v1, like they've been doing for years without issues.
Indeed, goodbye, Now. Hello, Heroku.

I am truly sorry if our vision of the future doesn't match yours. It is ok to have a different opinion on this one and as a business, we take every bit of feedback into consideration.
Always-up servers have flaws. We always wanted a pure On Demand Serverless platform and we can see how Now 2.0 will bring us closer to that future.

@user00028
Copy link

Make 2.0 better before you go thrusting it upon us.

@encloinc
Copy link

encloinc commented Jul 8, 2019

I think this is so shady, people should not be forced upon a feature that they dont believe in, some just like the commodity the old now v1 offered. It shoudln't matter what "you" believe but instead what your CUSTOMERS want, the service isn't made or backed by your belifs its backed by the people that use it, and you just lost the trust of a lot of developers.

@alexw24
Copy link

alexw24 commented Oct 4, 2019

Yeah lol it's a Friday evening and I have to wait till Monday till theres an engineer in the office with an older zeit account

@LDubya
Copy link

LDubya commented Oct 5, 2019

Yeah lol it's a Friday evening and I have to wait till Monday till theres an engineer in the office with an older zeit account

That probably won't help you. Just tried to make a new deployment (slightly different version of a pre-existing app) and it says "Deploying to Now 2.0, because this project does not yet exist".

In addition, you can see in their source code here that they are explicitly deploying to Now 2.0 for any projects created after August 7, 2019:

src/util/prefer-v2-deployment.ts:

if (project && project.createdAt > 1565186886910) {
    return `Deploying to Now 2.0, because this project was created on Now 2.0. ${INFO}`;
}

In addition on their website, they now say "Now CLI will automatically upgrade your deployment to the latest platform version if you create a new project".

They also haven't responded to my discussion on Spectrum, where I discuss how the latest CLI breaks Now v1 deployment.

It feels as though they have chosen to abandon Now v1 and those plans are in full swing. Even for pre-existing users who signed up when Now was v1 and who continue to use Now v1. I'd love to hear otherwise, but from what I'm seeing, this is my conclusion.

Taking out a napkin and taking some educated guess at the cost structure of running a serverless offering vs traditional, I could see why they'd think it's the move for them to make. The per-user costs of running a serverless hosting business are much lower, probably at least 10x. However, looks like early on they made the mistake of not accounting for the costs of running both a serverless offering and traditional. I know enough about such topics to know that if they're making the move to abandon traditional hosting, then it's because serverless significantly lowers their costs, but it only does so if they can get rid of the fixed costs of running traditional hosting. So, their goal is ultimately to abandon Now v1 entirely. Step one is to prevent new users from using Now v1. Then, as less and less users use Now v1, their fixed costs per-user for running Now v1 will increase to the point to where they will claim it's not profitable and just shut it down. So the best move for anyone using Now V1 (and would like to continue using Now v1 in the long term) would be to start looking for the door. It's highly likely given the facts at hand that Zeit won't be able to support Now V1 in the long term and will shut it down entirely, even for existing users.

@kelinwu
Copy link

kelinwu commented Jan 29, 2020

problematic deployment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests