MuddyOne They are medium roast two weeks old. Never had so large under extraction. 18g in 100 ml out with 8 bars I’ll do finer tomorrow but that just seems like a large gap.
Been in your shoes many years ago. Happy to help. Also suggest that you do some reading and watching. Barista Hustle has a good instructional series.
If your coffee has been open for 2 weeks, its now stale. Lots of different approaches to preserving coffee on this board (search storing coffee), but many lightly vacuum pack and freeze their beans; I freeze 3 day lots, unfreeze them use.
For coffee dosing, stay within 5% to at most 10% of your basket size rating. I’d suggest sticking to your basket size rating, until you know enough to make a rational decision on change the dose. Then Lock in that dose, for now
Read up on brew ratios. 1:2 (such as 18 in, 36 out in an 18g basket) is a good starting point.
While I don’t worry about time alot, shots typically run in the 20 second to 40 second range. I think in water and weight flow rate terms (ml/sec). 36g in 30 seconds is about 36 ml in 30 seconds which is about 1 ml per second overall.
The above will also help you begin to calibrate your grind. Think of grind like a hump. An upside down V. Too fine and you will typically be over extracted with bitter notes. Too coarse and you will typically be under extracted with sour notes. Search here or read up on “dialing in”.
Also read up on even puck distribution and tamping. I use a WDT tool with 5 X 0.35mm needles and do many small circles, deep, middle and surface. Invest in a weight calibrated self leveling tamper, if you can afford it.
Many find that using a puck screen also helps.
Mainly, use good water (I use Zero Water with 80 mg/litre sodium or potassium bicarbonate - I use baking soda) and good coffee that has a roast date, so that you know that it’s been recently roasted. I “rest” my bag for 1 week (some folks rest up to 2 weeks) then open, divide into lots, lightly vacuum pack and freeze.
So …read up more, experiment and come back with any questions when you are ready.