Skip to content

Uses internal IP for Logo and Background image when connecting through any other domain #4928

Description

Expected behaviour

Tell us what should happen

Actual behaviour

I accessed the webpage externally through my domain, this is what i got:
image
The Nextcloud logo and background are not loaded.

Server configuration

Operating system:
Ubuntu 16.04

Web server:
Apache2

Database:
MySQL 5.5

PHP version:
7.0

Nextcloud version: (see Nextcloud admin page)
12.0beta3

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

Where did you install Nextcloud from:
manually

Signing status:

Signing status

No errors have been found.

List of activated apps:

App list

Enabled:

  • activity: 2.5.2
  • admin_audit: 1.2.0
  • admin_notifications: 1.0.0
  • bruteforcesettings: 1.0.2
  • comments: 1.2.0
  • dav: 1.3.0
  • federatedfilesharing: 1.2.0
  • federation: 1.2.0
  • files: 1.7.2
  • files_downloadactivity: 1.1.1
  • files_external: 1.3.0
  • files_pdfviewer: 1.1.1
  • files_sharing: 1.4.0
  • files_texteditor: 2.4.1
  • files_trashbin: 1.2.0
  • files_versions: 1.5.0
  • files_videoplayer: 1.1.0
  • firstrunwizard: 2.1
  • gallery: 17.0.0
  • groupfolders: 1.0.2
  • logreader: 2.0.0
  • lookup_server_connector: 1.0.0
  • nextcloud_announcements: 1.1
  • notifications: 2.0.0
  • password_policy: 1.2.2
  • provisioning_api: 1.2.0
  • serverinfo: 1.2.0
  • sharebymail: 1.2.0
  • systemtags: 1.2.0
  • theming: 1.3.0
  • twofactor_backupcodes: 1.1.0
  • updatenotification: 1.2.0
  • user_ldap: 1.2.1
  • workflowengine: 1.2.0
    Disabled:
  • encryption
  • survey_client
  • user_external

Nextcloud configuration:

Config report

{
"system": {
"instanceid": "oclzcuizekhm",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"cloud.phils-lab.net",
"phils-lab.net",
"192.168.3.3",
"appnextcloud.phils-lab.int",
"cloud.phils-lab.int"
],
"datadirectory": "/mnt/nc_storage",
"dbtype": "mysql",
"version": "12.0.0.20",
"dbname": "nextcloud",
"dbhost": "192.168.3.2:3306",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"memcache.local": "OC\Memcache\APCu",
"mail_from_address": "cloud",
"mail_smtpmode": "php",
"mail_smtpauthtype": "LOGIN",
"mail_domain": "phils-lab.net",
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "\OCA\User_LDAP\LDAPProviderFactory",
"updater.secret": "REMOVED SENSITIVE VALUE",
"updater.release.channel": "beta",
"maintenance": false,
"loglevel": 2,
"skeletondirectory": "/mnt/nc_skeleton",
"ldapUserCleanupInterval": 5,
"enable_previews": true,
"preview_max_x": 2048,
"preview_max_y": 2048,
"enabledPreviewProviders": [
"OC\Preview\PNG",
"OC\Preview\JPEG",
"OC\Preview\GIF",
"OC\Preview\BMP",
"OC\Preview\XBitmap",
"OC\Preview\MP3",
"OC\Preview\TXT",
"OC\Preview\MarkDown",
"OC\Preview\Illustrator",
"OC\Preview\Movie",
"OC\Preview\PDF",
"OC\Preview\Photoshop",
"OC\Preview\Postscript",
"OC\Preview\SVG",
"OC\Preview\TIFF",
"OC\Preview\Font"
],
"overwrite.cli.url": "http://192.168.3.3",
"overwritehost": "cloud.phils-lab.net"
}
}

Are you using external storage, if yes which one: local/smb/sftp/...
smb

Are you using encryption: yes/no
no

Client configuration

Browser:
Chrome fully-patched, mozilla firefox fully patched

Operating system:
Windows 10

Browser log

Browser log

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions