Open darkmattercoder opened 1 year ago
The URL is generated using generateUrl
correctly:
Can you provide the output of occ config:list system
from your system? Of particular interest be the apps_paths
section with any url
parameters.
Below is the output of occ config:list system
{
"system": {
"memcache.local": "\\OC\\Memcache\\APCu",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"overwritewebroot": "\/nextcloud",
"trusted_domains": [
"192.168.178.99",
"home.mydomain.net"
],
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "26.0.1.1",
"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,
"theme": "",
"log_type": "file",
"logtimezone": "Europe\/Berlin",
"logfile": "\/data\/nextcloud.log",
"loglevel": 3,
"auth.bruteforce.protection.enabled": false,
"overwrite.cli.url": "https:\/\/home.mydomain.net\/nextcloud",
"mail_smtpmode": "smtp",
"mail_smtpsecure": "tls",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"default_phone_region": "DE",
"app_install_overwrite": [
"calendar"
],
"trashbin_retention_obligation": "auto, 365",
"preview_max_x": 512,
"preview_max_y": 512
}
}
It's been a while. Some updates happened and since the issue persists as always, here is my current configuration, in case it shows anything new which was relevant in that matter:
{
"system": {
"memcache.local": "\\OC\\Memcache\\APCu",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "https:\/\/my.domain.xyz\/nextcloud",
"overwriteprotocol": "https",
"overwritewebroot": "\/nextcloud",
"trusted_domains": [
"my.domain.xyz"
],
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "29.0.0.19",
"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,
"theme": "",
"log_type": "file",
"logtimezone": "Europe\/Berlin",
"logfile": "\/pathtolog\/nextcloud.log",
"loglevel": 2,
"auth.bruteforce.protection.enabled": false,
"mail_smtpmode": "smtp",
"mail_smtpsecure": "tls",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"default_phone_region": "DE",
"app_install_overwrite": [
"calendar"
],
"trashbin_retention_obligation": "auto, 365",
"preview_max_x": 512,
"preview_max_y": 512,
"filelocking.enabled": "true",
"memcache.locking": "\\OC\\Memcache\\APCu",
"upgrade.disable-web": true,
"maintenance_window_start": 20,
"memories.exiftool": "\/config\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-musl",
"memories.vod.path": "\/config\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"memories.db.triggers.fcu": true,
"enabledPreviewProviders": [
"OC\\Preview\\Image",
"OC\\Preview\\HEIC",
"OC\\Preview\\TIFF",
"OC\\Preview\\Movie"
],
"memories.gis_type": 1
}
}
Describe the bug When clicking on Maps from the photo app, the address is rewritten to
https://my.domain/apps/maps
where it should behttps://my.domain/nextcloud/apps/maps
To Reproduce Steps to reproduce the behavior:
Expected behavior Correct redirect
Additional context
'overwritewebroot' => '/nextcloud',