This is the solution if we have a decade long event, but we need time to implement this - you can't just set up millions of acres of indoor growing space overnight.
Ideally, we need a couple of years food in storage together with detailed plans for how to grow food indoors (if needed).
War is probably the best way to estimate the time required. The USA took 18 months to switch over to a full war economy in WWII. We might be able to do it in less, but ideally we have in place a couple of years worth of food.
Oh I agree. I'd still love to see it happen in at least an experimental form. It sounds so ideal if everything works out (especially making automated systems far easier for automatic harvesting).
Space is not an actual problem with farm land. Setting up LED lights outside is a vastly easier solution. Remember, there would still be natural light, just significantly less.