[Bug]: when I edit a existing php file and pasting stuff on it the page will broken
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
The "php" file was stored on a lvm volume attatched on my NC24 server through external storage pluggin,i open it through this order: NC dashborad→app→files→external storage folder→located and open it every time I try to input something or CTRL+V the page frozed and no respond at all, have to reset the url manually back to NC frontpage to recover.
Steps to reproduce
1.NC dashborad→app→files→external storage folder→open the php file to edit 2.input anything or ctrl +V and the page will frozen 3.
Expected behavior
Thanks for your work!,it would be great if it got fixed ,thank you
Installation method
Manual installation
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- [X] Default user-backend (database)
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"xxx.xxx.xx.xx"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "24.0.0.12",
"overwrite.cli.url": "https:\/\/175.178.147.103\/nextcloud",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"filesystem_check_changes": true,
"filelocking.enabled": true,
"mail_smtpmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"loglevel": 2,
"default_phone_region": "CN",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Memcached",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0
}
}
}
List of activated Apps
Enabled:
- accessibility: 1.10.0
- activity: 2.16.0
- bruteforcesettings: 2.4.0
- calendar: 3.3.0
- circles: 24.0.0
- cloud_federation_api: 1.7.0
- comments: 1.14.0
- contactsinteraction: 1.5.0
- dashboard: 7.4.0
- dav: 1.22.0
- deck: 1.7.0
- external: 4.0.0
- extract: 1.3.5
- federatedfilesharing: 1.14.0
- federation: 1.14.0
- files: 1.19.0
- files_automatedtagging: 1.14.0
- files_external: 1.16.1
- files_fulltextsearch: 24.0.0
- files_fulltextsearch_tesseract: 24.0.0
- files_pdfviewer: 2.5.0
- files_rightclick: 1.3.0
- files_sharing: 1.16.2
- files_trashbin: 1.14.0
- files_versions: 1.17.0
- files_videoplayer: 1.13.0
- firstrunwizard: 2.13.0
- forms: 2.5.0
- fulltextsearch: 24.0.0
- fulltextsearch_elasticsearch: 24.0.0
- integration_mastodon: 1.0.2
- logreader: 2.9.0
- lookup_server_connector: 1.12.0
- mail: 1.12.0
- ncdownloader: 0.9.24
- nextcloud_announcements: 1.13.0
- notes: 4.3.1
- notifications: 2.12.0
- oauth2: 1.12.0
- password_policy: 1.14.0
- photos: 1.6.0
- privacy: 1.8.0
- provisioning_api: 1.14.0
- recommendations: 1.3.0
- serverinfo: 1.14.0
- settings: 1.6.0
- sharebymail: 1.14.0
- socialsharing_email: 2.5.0
- spreed: 14.0.1
- support: 1.7.0
- survey_client: 1.12.0
- systemtags: 1.14.0
- text: 3.5.1
- theming: 1.15.0
- twofactor_backupcodes: 1.13.0
- updatenotification: 1.14.0
- user_status: 1.4.0
- viewer: 1.8.0
- weather_status: 1.4.0
- workflowengine: 2.6.0
Disabled:
- admin_audit
- backup: 1.0.6
- encryption
- facerecognition: 0.9.5
- files_antivirus: 3.2.2
- recognize: 1.12.0
- talk_matterbridge: 1.23.2
- talked: 0.3.0
- user_ldap
- workflow_media_converter: 1.3.6
- workflow_pdf_converter: 1.8.0
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
{
"reqId": "dL0xL6Gd0Em8bPhYNdHB",
"level": 3,
"time": "2022-05-17T03:51:56+00:00",
"remoteAddr": "",
"user": "",
"app": "PHP",
"method": "PROPFIND",
"url": "/nextcloud/remote.php/dav/files/proxprox/data/xxx/Captures",
"message": "Allowed memory size of 134217728 bytes exhausted (tried to allocate 2621440 bytes) at /srv/nextcloud/lib/private/Files/View.php#1483",
"userAgent": "Mozilla/5.0 (Windows) mirall/3.5.0stable-Win64 (build 20220502) (Nextcloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)",
"version": "24.0.0.12"
}
Additional info
the log says something about php memory,but it was 512M in my ini config: root@VM-8-14-debian:/home/xxxx# cat /etc/php/8.1/cli/php.ini | grep memory_limit memory_limit = 512M
root@VM-8-14-debian:/home/xxxx# cat /etc/php/8.1/cli/php.ini | grep memory_limit memory_limit = 512M
Can you check the config for your fpm or apache php.ini? The one you showed is only affecting cli.
Closing due to mising information.