How can i install Nextcloud server on fedora on Qubes os 4.1?

I need to install nextcloud server on fedora (on qubes 4.1 )

I have tried severla times but I failed…

I would recommend using the Qubes support process as it is functionally very different from stock Fedora and you will probably get a better answer there.

Nextcloud is packaged in Fedora, but I honestly just run mine as a normal LAMP stack and use the built in Nextcloud updater instead. I would follow the Nextcloud install guide for it, as it’s generally distro generic:

https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html