-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Defaults for max_execution_time, max_input_time in base.php not configurable #10082
Comments
As a work-around, I modified lines 637-640 of
I tried to set The server works, but pollutes the log file with tremendously many messages. |
GitMate.io thinks possibly related issues are #3269 (Default config.php appstore), and #6784 (Php error?). |
Hi, So I've got a similar issue to yours, maybe. I get the following php error, that I get bombarded with like every half second: set_time_limit(): Cannot set max execution time limit due to system policy at path/httpd.www/nextcloud/lib/base.php#629. I'm curious about how you found out what your hosting restrictions are and where. Was it in the php interface or did you contact them directly to find out? I'm running on a shared server. What did you change any values to? Was it >3600 or <3600? I looked at the code in the base.php file, but I'm not confident to make any amendments? |
@night-light My hoster has posted the restrictions in their documentation. The values my hoster allows are much shorter than 3600s. The only changes I made to the code was to enter suitable numbers in the locations marked |
@oc33 thank you for your reply! It looked like the set_time_limit is disabled for me and the hoster can't do anything about, not even provide me with the value for some reason as it wasn't possible, they say. |
I have the exact same issue but with different needs. I want to set the As i want my config to bet update-proof, i don't want to use the workaround by changing the This behaviour should be changed, as otherwise the instructions about |
As others have noticed the issues seem to start here: https://github.com/nextcloud/server/blob/v15.0.5/lib/base.php#L623 My workaround was to set all of those as |
This issue has been automatically marked as stale because it has not had recent activity and it seems to be missing some essential informations. It will be closed if no further activity occurs. Thank you for your contributions. |
As there is no feedback since a while I will close this ticket. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen. |
@skjnldsv The values for |
Steps to reproduce
max_execution_time
ormax_input_time
Expected behaviour
No error messages if
.user.ini
contains values formax_execution_time
andmax_input_time
compatible with server constraints.Actual behaviour
Settings > Logging shows error messages like
at a very high rate.
Server configuration
Operating system: Debian
Web server: unknown
Database: MariaDB
PHP version: 7.2
Nextcloud version: 13.0.4
Updated from an older Nextcloud/ownCloud or fresh install: Updated manually from 12.0.0
Where did you install Nextcloud from: Tarball
Signing status:
Signing status
``` No errors have been found. ```List of activated apps:
Not relevant
Nextcloud configuration:
Not relevant
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Irrelevant
Logs
Web server error log
Not available
Nextcloud log (data/nextcloud.log)
See above
Browser log
Not relevant
The text was updated successfully, but these errors were encountered: