nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.2k stars 4.04k forks source link

Moving from NGINX to APACHE2 broke theming #15089

Closed loxK closed 5 years ago

loxK commented 5 years ago

Steps to reproduce

I moved an installation to Apache from Nginx. Then the custom theme isn't applied (color included). If I switch back to nginx everything comes up themed.

Expected behavior

I expected theming to stay

Actual behaviour

Missing custom theming. Only folders get the custom color.

Server configuration detail

Operating system: Linux 4.15.0-47-generic #50~16.04.1-Ubuntu SMP Fri Mar 15 16:06:21 UTC 2019 x86_64

Webserver: Apache/2.4.18 (Ubuntu) (apache2handler) with Nginx proxy on front

Database: mysql 10.0.38

PHP version:

7.3.4-1+ubuntu16.04.1+deb.sury.org+3 Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, ldap, exif, msgpack, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, redis, shmop, SimpleXML, smbclient, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, memcached, libsmbclient, Zend OPcache

Nextcloud version: 15.0.7 - 15.0.7.0

Updated from an older Nextcloud/ownCloud or fresh install: Updated

Where did you install Nextcloud from: Self hosted

Signing status Array ( )
List of activated apps ``` Enabled: - accessibility: 1.1.0 - activity: 2.8.2 - admin_audit: 1.5.0 - apporder: 0.6.0 - audioplayer: 2.6.1 - bookmarks: 0.17.0 - bruteforcesettings: 1.3.0 - calendar: 1.6.4 - cloud_federation_api: 0.1.0 - comments: 1.5.0 - contacts: 3.1.0 - dashboard: 6.0.0 - dav: 1.8.1 - deck: 0.5.2 - end_to_end_encryption: 1.1.0 - federatedfilesharing: 1.5.0 - federation: 1.5.0 - files: 1.10.0 - files_external: 1.6.0 - files_markdown: 2.0.6 - files_pdfviewer: 1.4.0 - files_rightclick: 0.13.0 - files_sharing: 1.7.0 - files_texteditor: 2.7.0 - files_trashbin: 1.5.0 - files_versions: 1.8.0 - files_videoplayer: 1.4.0 - firstrunwizard: 2.4.0 - gallery: 18.2.0 - issuetemplate: 0.5.0 - logreader: 2.0.0 - lookup_server_connector: 1.3.0 - news: 13.1.6 - nextcloud_announcements: 1.4.0 - notes: 2.5.1 - notifications: 2.3.0 - oauth2: 1.3.0 - onlyoffice: 2.1.6 - password_policy: 1.5.0 - previewgenerator: 2.1.0 - provisioning_api: 1.5.0 - qownnotesapi: 18.11.0 - rainloop: 6.0.2 - ransomware_detection: 0.4.3 - richdocuments: 3.2.4 - serverinfo: 1.5.0 - sharebymail: 1.5.0 - social: 0.1.4 - spreed: 5.0.3 - survey_client: 1.3.0 - systemtags: 1.5.0 - tasks: 0.9.8 - theming: 1.6.0 - twofactor_backupcodes: 1.4.1 - twofactor_nextcloud_notification: 1.1.1 - twofactor_totp: 2.1.2 - updatenotification: 1.5.0 - user_external: 0.6.1 - user_ldap: 1.5.0 - workflowengine: 1.5.0 Disabled: - announcementcenter - circles - drawio - encryption - external - files_accesscontrol - files_downloadactivity - files_reader - files_retention - impersonate - ldapcontacts - mail - nextant - ocsms - polls - quota_warning - ransomware_protection - socialsharing_email - socialsharing_facebook - socialsharing_googleplus - socialsharing_twitter - support ```
Configuration (config/config.php) ``` { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "gaiac.io" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "15.0.7.0", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "logtimezone": "Pacific\/Noumea", "installed": true, "filelocking.enabled": true, "memcache.locking": "\\OC\\Memcache\\Redis", "memcache.local": "\\OC\\Memcache\\APCu", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "overwritehost": ""***REMOVED SENSITIVE VALUE***"", "overwriteprotocol": "https", "ldapIgnoreNamingRules": false, "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory", "loglevel": 0, "log_rotate_size": 52428800, "appstore.experimental.enabled": true, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "ldapUserCleanupInterval": 30, "maintenance": false, "updater.release.channel": "stable", "apps_paths": [ { "path": "\/srv\/www\/nextcloud\/apps", "url": "\/apps", "writable": false }, { "path": "\/srv\/www\/nextcloud\/apps.manual", "url": "\/apps.manual", "writable": false }, { "path": "\/srv\/www\/nextcloud\/apps.installed", "url": "\/apps.installed", "writable": true } ], "mysql.utf8mb4": true, "theme": "", "mail_smtpsecure": "tls", "mail_smtpauthtype": "PLAIN", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "twofactor_enforced": "false", "twofactor_enforced_groups": [], "twofactor_enforced_excluded_groups": [], "htaccess.RewriteBase": "\/nextcloud" } ```

Are you using external storage, if yes which one: smb

Are you using encryption: false

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this par if not used) ``` _lastChange: 1555197356background_sync_interval: 43200background_sync_offset: 0background_sync_prefix: cleanUpJobOffset: 0enabled: yeshas_memberof_filter_support: 1home_folder_naming_rule: installed_version: 1.5.0last_jpegPhoto_lookup: 0ldap_agent_password: UTNKWWx5NUBzWnY0c1JCQnZoZDk=ldap_attributes_for_group_search: ldap_attributes_for_user_search: ldap_backup_host: ldap_backup_port: ldap_base: DC=zen,DC=domain,DC=ioldap_base_groups: DC=zen,DC=domain,DC=ioldap_base_users: DC=zen,DC=domain,DC=ioldap_cache_ttl: 600ldap_configuration_active: 1ldap_default_ppolicy_dn: ldap_display_name: displaynameldap_dn: CN=zentyal-mail-zentyal,CN=Users,DC=zen,DC=domain,DC=ioldap_dynamic_group_member_url: ldap_email_attr: mailldap_experienced_admin: 0ldap_expert_username_attr: sAMAccountNameldap_expert_uuid_group_attr: ldap_expert_uuid_user_attr: ldap_gid_number: gidNumberldap_group_display_name: cnldap_group_filter: (&(|(objectclass=group))(|(cn=Nextcloud)(cn=Famille)(cn=Developers)))ldap_group_filter_mode: 0ldap_group_member_assoc_attribute: uniqueMemberldap_groupfilter_groups: Nextcloud Famille Developersldap_groupfilter_objectclass: groupldap_host: zen.domain.ioldap_login_filter: (&(&(|(objectclass=user))(|(|(memberof=CN=Nextcloud,CN=Groups,DC=zen,DC=domain,DC=io)(primaryGroupID=1111))(|(memberof=CN=Developers,CN=Groups,DC=zen,DC=domain,DC=io)(primaryGroupID=1109))(|(memberof=CN=Famille,CN=Groups,DC=zen,DC=domain,DC=io)(primaryGroupID=1118))))(|(samaccountname=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid))(|(sAMAccountName=%uid))))ldap_login_filter_mode: 0ldap_loginfilter_attributes: sAMAccountNameldap_loginfilter_email: 1ldap_loginfilter_username: 1ldap_nested_groups: 0ldap_override_main_server: ldap_paging_size: 500ldap_port: 389ldap_quota_attr: ldap_quota_def: ldap_tls: 0ldap_turn_off_cert_check: 0ldap_turn_on_pwd_change: 0ldap_user_display_name_2: ldap_user_filter_mode: 0ldap_userfilter_groups: Nextcloud Developers Familleldap_userfilter_objectclass: userldap_userlist_filter: (&(|(objectclass=user))(|(|(memberof=CN=Nextcloud,CN=Groups,DC=zen,DC=domain,DC=io)(primaryGroupID=1111))(|(memberof=CN=Developers,CN=Groups,DC=zen,DC=domain,DC=io)(primaryGroupID=1109))(|(memberof=CN=Famille,CN=Groups,DC=zen,DC=domain,DC=io)(primaryGroupID=1118))))types: authenticationuse_memberof_to_detect_membership: 1 ```

Client configuration

Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Operating system: Ubuntu 16.04

Logs

Web server error log ``` {"reqId":"3iWMb0h2gjX9oCUHB8P0","level":3,"time":"2019-04-14T11:11:22+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: client-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"3iWMb0h2gjX9oCUHB8P0","level":3,"time":"2019-04-14T11:11:22+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: client-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"3iWMb0h2gjX9oCUHB8P0","level":3,"time":"2019-04-14T11:11:22+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"3iWMb0h2gjX9oCUHB8P0","level":3,"time":"2019-04-14T11:11:22+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"3iWMb0h2gjX9oCUHB8P0","level":3,"time":"2019-04-14T11:11:22+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"b1Z7oBu98WcFmAZ1rP6u","level":3,"time":"2019-04-14T11:11:40+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"b1Z7oBu98WcFmAZ1rP6u","level":3,"time":"2019-04-14T11:11:40+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"b1Z7oBu98WcFmAZ1rP6u","level":3,"time":"2019-04-14T11:11:40+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"1v7D38WMfxfcWgZaeTm6","level":0,"time":"2019-04-14T11:12:33+11:00","remoteAddr":"10.0.4.159","user":"--","app":"user_ldap","method":"GET","url":"\/nextcloud\/index.php\/204","message":"initializing paged search for Filter (&(&(|(objectclass=user))(|(|(memberof=CN=Nextcloud,CN=Groups,DC=zen,DC=domain,DC=io)(primaryGroupID=1111))(|(memberof=CN=Developers,CN=Groups,DC=zen,DC=domain,DC=io)(primaryGroupID=1109))(|(memberof=CN=Famille,CN=Groups,DC=zen,DC=domain,DC=io)(primaryGroupID=1118))))(|(samaccountname=laurent)(|(mailPrimaryAddress=laurent)(mail=laurent))(|(sAMAccountName=laurent)))) base Array\n(\n [0] => DC=zen,DC=domain,DC=io\n)\n attr Array\n(\n [0] => entryuuid\n [1] => nsuniqueid\n [2] => objectguid\n [3] => guid\n [4] => ipauniqueid\n [5] => dn\n [6] => uid\n [7] => samaccountname\n [8] => memberof\n [9] => mail\n [10] => displayname\n [11] => jpegphoto\n [12] => thumbnailphoto\n)\n limit 500 offset 0","userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/3.5.1","version":"15.0.7.0"} {"reqId":"1v7D38WMfxfcWgZaeTm6","level":0,"time":"2019-04-14T11:12:33+11:00","remoteAddr":"10.0.4.159","user":"--","app":"user_ldap","method":"GET","url":"\/nextcloud\/index.php\/204","message":"Ready for a paged search","userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/3.5.1","version":"15.0.7.0"} {"reqId":"F8OWXQkjHqb3vXdE7NF3","level":0,"time":"2019-04-14T11:13:16+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"files_markdown","method":"GET","url":"\/nextcloud\/apps\/files\/","message":"Could not find resource file \"\/nextcloud\/apps.installed\/files_markdown\/css\/..\/build\/styles.css\"","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"CfA7Eq6nJN3JAe5o5keN","level":0,"time":"2019-04-14T11:13:16+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"no app in context","method":"GET","url":"\/nextcloud\/css\/icons\/icons-vars.css?v=1555198624","message":"No cache entry found for \/appdata_ocxqcnu4i3nc\/css\/icons\/icons-vars.css.gzip (storage: local::\/srv\/www\/nextcloud\/data\/, internalPath: appdata_ocxqcnu4i3nc\/css\/icons\/icons-vars.css.gzip)","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"qoUlCPxikmz1zjIiSUiN","level":0,"time":"2019-04-14T11:13:17+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"files_markdown","method":"GET","url":"\/nextcloud\/apps\/files\/","message":"Could not find resource file \"\/nextcloud\/apps.installed\/files_markdown\/css\/..\/build\/styles.css\"","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"mgqMpueOI4SDMQb0IgxH","level":0,"time":"2019-04-14T11:13:17+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"no app in context","method":"GET","url":"\/nextcloud\/apps\/gallery\/config?extramediatypes=1","message":"No cache entry found for \/laurent\/files\/gallery.cnf (storage: home::laurent, internalPath: files\/gallery.cnf)","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} ```
Nextcloud log ``` {"reqId":"3iWMb0h2gjX9oCUHB8P0","level":3,"time":"2019-04-14T11:11:22+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: client-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"3iWMb0h2gjX9oCUHB8P0","level":3,"time":"2019-04-14T11:11:22+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: client-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"3iWMb0h2gjX9oCUHB8P0","level":3,"time":"2019-04-14T11:11:22+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"3iWMb0h2gjX9oCUHB8P0","level":3,"time":"2019-04-14T11:11:22+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"3iWMb0h2gjX9oCUHB8P0","level":3,"time":"2019-04-14T11:11:22+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"b1Z7oBu98WcFmAZ1rP6u","level":3,"time":"2019-04-14T11:11:40+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"b1Z7oBu98WcFmAZ1rP6u","level":3,"time":"2019-04-14T11:11:40+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"b1Z7oBu98WcFmAZ1rP6u","level":3,"time":"2019-04-14T11:11:40+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"PHP","method":"POST","url":"\/nextcloud\/apps\/issuetemplate\/render","message":"Undefined index: log-detail at \/srv\/www\/nextcloud\/apps.installed\/issuetemplate\/lib\/Detail.php#59","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"1v7D38WMfxfcWgZaeTm6","level":0,"time":"2019-04-14T11:12:33+11:00","remoteAddr":"10.0.4.159","user":"--","app":"user_ldap","method":"GET","url":"\/nextcloud\/index.php\/204","message":"initializing paged search for Filter (&(&(|(objectclass=user))(|(|(memberof=CN=Nextcloud,CN=Groups,DC=zen,DC=domain,DC=io)(primaryGroupID=1111))(|(memberof=CN=Developers,CN=Groups,DC=zen,DC=domain,DC=io)(primaryGroupID=1109))(|(memberof=CN=Famille,CN=Groups,DC=zen,DC=domain,DC=io)(primaryGroupID=1118))))(|(samaccountname=laurent)(|(mailPrimaryAddress=laurent)(mail=laurent))(|(sAMAccountName=laurent)))) base Array\n(\n [0] => DC=zen,DC=domain,DC=io\n)\n attr Array\n(\n [0] => entryuuid\n [1] => nsuniqueid\n [2] => objectguid\n [3] => guid\n [4] => ipauniqueid\n [5] => dn\n [6] => uid\n [7] => samaccountname\n [8] => memberof\n [9] => mail\n [10] => displayname\n [11] => jpegphoto\n [12] => thumbnailphoto\n)\n limit 500 offset 0","userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/3.5.1","version":"15.0.7.0"} {"reqId":"1v7D38WMfxfcWgZaeTm6","level":0,"time":"2019-04-14T11:12:33+11:00","remoteAddr":"10.0.4.159","user":"--","app":"user_ldap","method":"GET","url":"\/nextcloud\/index.php\/204","message":"Ready for a paged search","userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/3.5.1","version":"15.0.7.0"} {"reqId":"F8OWXQkjHqb3vXdE7NF3","level":0,"time":"2019-04-14T11:13:16+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"files_markdown","method":"GET","url":"\/nextcloud\/apps\/files\/","message":"Could not find resource file \"\/nextcloud\/apps.installed\/files_markdown\/css\/..\/build\/styles.css\"","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"CfA7Eq6nJN3JAe5o5keN","level":0,"time":"2019-04-14T11:13:16+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"no app in context","method":"GET","url":"\/nextcloud\/css\/icons\/icons-vars.css?v=1555198624","message":"No cache entry found for \/appdata_ocxqcnu4i3nc\/css\/icons\/icons-vars.css.gzip (storage: local::\/srv\/www\/nextcloud\/data\/, internalPath: appdata_ocxqcnu4i3nc\/css\/icons\/icons-vars.css.gzip)","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"qoUlCPxikmz1zjIiSUiN","level":0,"time":"2019-04-14T11:13:17+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"files_markdown","method":"GET","url":"\/nextcloud\/apps\/files\/","message":"Could not find resource file \"\/nextcloud\/apps.installed\/files_markdown\/css\/..\/build\/styles.css\"","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} {"reqId":"mgqMpueOI4SDMQb0IgxH","level":0,"time":"2019-04-14T11:13:17+11:00","remoteAddr":"10.0.4.81","user":"laurent","app":"no app in context","method":"GET","url":"\/nextcloud\/apps\/gallery\/config?extramediatypes=1","message":"No cache entry found for \/laurent\/files\/gallery.cnf (storage: home::laurent, internalPath: files\/gallery.cnf)","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko\/20100101 Firefox\/66.0","version":"15.0.7.0"} ```
Browser log Content Security Policy: La directive « child-src » est obsolète. Veuillez utiliser la directive « worker-src » pour contrôler des workers ou la directive « frame-src » pour contrôler des images. Content Security Policy: Les paramètres de la page ont empêché le chargement d’une ressource à eval (« script-src »). Content Security Policy: Les paramètres de la page ont empêché le chargement d’une ressource à inline (« script-src »). files:1:1 La ressource à l’adresse « https://gaiac.io/nextcloud/apps/files/ » a été bloquée en raison d’un type MIME (« text/html ») incorrect (X-Content-Type-Options: nosniff).[En savoir plus] files JQMIGRATE: Migrate is installed, version 1.4.0 core.js:7:542 window.controllers/Controllers est obsolète. Veuillez ne pas l’utiliser pour détecter l’agent utilisateur (UA). merged.js:2176 New search handler registered search.js:67:4 querying Whats New data was successful: nocontent merged-template-prepend.js:4613:4 undefined merged-template-prepend.js:4614:4
loxK commented 5 years ago

I got it working with proper apache remoteip module configuration:

RemoteIPHeader X-Forwarded-For
RemoteIPInternalProxy 10.0.4.10

10.0.4.10 being the IP of the NGINX reverse proxy as seen in access.log