I have searched the posts that contain the tag large uploads but have not found an answer.
After upgrading from Debian 11 to Debian 12 I can no longer upload large files. The config of NextCloud has not been changed
if I look in php info for the upload_max_filesize and post_max_size entries I see 1GB
on the administration page → serverinfo I see Maximum upload size: 1 GB
nevertheless all uploads that are larger than 2M hang with the status Pending.
Files up to 2M can be uploaded without problems
I can only guess since we don’t have much information. But maybe the PHP settings were not migrated to the new version when you upgraded Debian, or maybe there are even multiple PHP versions installed.
To be honest, I don’t know how Debian behaves regarding PHP when upgrading to a newer release, because I use https://deb.sury.org/ and thus manage the PHP version independently of the Debian release, i.e. I have documented my PHP settings and simply purge PHP completely and reinstall it if I want to change/upgrade the PHP version.
Sometimes problems arise due to other apps. A few years ago with the Recognize app, see here. Can you uninstall a few apps that you don’t currently need? Maybe you can find also something in the Nextcloud logs? Post some logs.
It’s getting stranger and stranger.
I have been working on Debian servers for more than 15 years, but this is completely incomprehensible to me:
Yesterday I searched for hours, increased the limits in all php.ini files. Despite the fact that only the special file is actually responsible for the cloud.
No success.
Today I switched on the PC and it worked without any problems, later it didn’t work again. After restarting the PC it worked again.
However, it occurs on two different LXC containers at the same time and also from a friend’s PC.
I see no difference in the log files, especially no error.
Maybe the upgrade is not the cause, I can hardly trace the temporal connection.
The only thing in common is the root server on which the LXC containers are running and that all three have been upgraded to Debian 12 …