[CentOS] Running commands as apache user

Fri Aug 7 23:56:40 UTC 2020
H <agents at meddatainc.com>

I have a dilemma: I have nextcloud running under user and group apache, as recommended by the installation. I now have to run some nextcloud commands but even as root I cannot su to user apache because "this account is currently not available". Is there a way around this? The commands must be run as user apache...