Having been where you are now (just a few years ago myself) here is my advice. Go 48V and don't look back. I have multiple 12V and 24 Volt inverters and SCC's sitting on shelves gathering dust.
Inverter & Charge Controller(s)
You will have to decide on Hybrid and Grid-Tie or pure Off-Grid. My only experience is with pure Off-Grid.
AIO's (All In Ones) are space saving, easy to wire and use but separate components make it easier to have back-up equipment and might be less expensive in the long run if/when you have something go out. AIO's (Low Frequency ones, which is the only kind I would have) can also be VERY heavy and a pain to get on and off of a wall. I ended up settling on a Growatt 12kW Split Phase | SPF 12000T DVM MPV AIO unit (it weighs 165 lbs) and was a challenge to get mounted on the wall. It has a few quirks but for the price, I am very happy with it. No matter what AIO, stand alone SCC (or combination of both) you choose. I would lean toward one(s) with as high* of a PV Voltage Input that you can find. The Growatt MPV allows for up to 250V (array open circuit voltage) input from the panels. The more panels you can combine in series the higher the voltage and the smaller the wire on the roof (and down to the unit) can be. Also, if 12kW is not going to be enough for you in the future, you will want to choose a "Stackable" unit(s) so you can get them synced up and working together. The Growatt 12kW I have is NOT stackable.
*CAUTION - High Voltage DC (above 50V) is dangerous and can KILL YOU so extreme caution needs to be taken when dealing with it!
Batteries
Server rack batteries are very convenient and space efficient but if you are a hard core DIYer (and have the time) then building your own LiFePO4 batteries is still a lot cheaper and easier to work on (service) down the road if/when something in the battery goes wrong. I prefer JBD Smart BMS's and save a lot of money purchasing them from the JBD BMS Store on AliExpress
https://www.aliexpress.com/store/1102178034?spm=a2g0o.store_pc_home.pcShopHead_2003013642813.0
From my research, (currently) the best (and safest) place to get LiFePO4 cells is the 18650 Battery Store
https://www.18650batterystore.com/collections/lifepo4-prismatic-cells
Personally, batteries is NOT something I would try and purchase from overseas.
Panels
This is an area where you need to pay close attention as your panels (at least for each PV input) need to be matched. If you mismatch panels, they are only going to perform to the weakest one in the array. I was fortunate enough to find a seller on my local craigstlist that sells pallets of panels (at a great discount). I purchased a whole pallet of (25) 325W panels and have 24 of them installed. I later went back and purchased a few more so I have several backups in case any go out. I recommend that you (as some else mentioned above) figure out how many panels you can install on your roof and plan to (size the output of panels accordingly. You might have to purchase higher Watt panels to have enough production for your purposes. Also, look up what "over-paneling" means and considering your location and the pitch of your roof, consider how you want to handle this to maximize your PV production.
If you want to start slow, at least purchase enough panels to max out one of your Charge Controllers (or PV input on your AIO). It's always good to have a few backups. Don't count on that same exact solar panel being available a year from now. If the ridge of your barn roof is going to run North-South, then you could put panels on both sides and catch sun all day (wire each array into a different PV input). If your ridge runs East-West, then you will be limited to the panels on just the South facing side. Something to think about if you have not yet built it and you have the option to go both ways. You will need a lot of panels if you really want to charge an electric car some day.