This article provides information on upgrading SRX Branch devices to Junos OS Release 24.4R1 from either Junos OS Release 23.4R2-S3 or from Release 24.2R2.
For SRX300, SRX320, SRX340, SRX345, and SRX380 Firewalls, when you are upgrading to Junos OS Release 24.4R1 from either Junos OS Release 23.4R2-S3 or from Release 24.2R2, you must use the request system software add package-name no-copy no-validate reboot command to upgrade the software. Similarly, to downgrade the software, you must use the request system software add package-name no-validate reboot command. When downgrading the software, sometimes the non-SRX380 firewalls cannot complete the downgrade because the /oam partition does not have enough free space.
request system software add package-name no-copy no-validate reboot
request system software add package-name no-validate reboot
Refer this document for more details
Installing Software on SRX Series Devices