Skip to content

Fresh installation redirects to http://index.php/apps/dashboard/ (host missing) #27575

Closed

Description

@dartcafe

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Extract NC22 Beta5 to filesystem
  2. Call http://server.foo/
  3. Complete the install steps (do not install recommended apps, use sqlite)

Expected behaviour

Browser gets directed to http://server.foo/index.php/apps/dashboard/

Actual behaviour

Browser gets directed to http://index.php/apps/dashboard/ (Host is missing)

Logs

Web server error log

No access

Nextcloud log (data/nextcloud.log)

Nextcloud log

{"reqId":"YM2T49QoB25-5d1tr18C3wAAAE4","level":2,"time":"2021-06-19T06:51:15+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in http:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":""}
{"reqId":"YM2T49QoB25-5d1tr18C3wAAAE4","level":2,"time":"2021-06-19T06:51:15+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in https:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":""}
{"reqId":"YM2T49QoB25-5d1tr18C3wAAAE4","level":3,"time":"2021-06-19T06:51:15+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"--","app":"PHP","method":"GET","url":"/","message":"fopen(/www/nc22b5/nextcloud/data/nextcloud.log): Failed to open stream: No such file or directory at /www/nc22b5/nextcloud/lib/private/Log/File.php#84","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":""}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:31+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"--","app":"PHP","method":"POST","url":"/index.php","message":"session_start(): Ignoring session_start() because a session is already active at /www/nc22b5/nextcloud/lib/private/Session/Internal.php#206","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"","exception":{"Exception":"Error","Message":"session_start(): Ignoring session_start() because a session is already active at /www/nc22b5/nextcloud/lib/private/Session/Internal.php#206","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[8,"session_start(): Ignoring session_start() because a session is already active","/www/nc22b5/nextcloud/lib/private/Session/Internal.php",206]},{"function":"session_start","args":[{"cookie_samesite":"Lax"}]},{"file":"/www/nc22b5/nextcloud/lib/private/Session/Internal.php","line":206,"function":"call_user_func_array","args":["session_start",[{"cookie_samesite":"Lax"}]]},{"file":"/www/nc22b5/nextcloud/lib/private/Session/Internal.php","line":216,"function":"invoke","class":"OC\\Session\\Internal","type":"->","args":["session_start",[{"cookie_samesite":"Lax"}],true]},{"file":"/www/nc22b5/nextcloud/lib/private/Session/Internal.php","line":106,"function":"startSession","class":"OC\\Session\\Internal","type":"->","args":[true]},{"file":"/www/nc22b5/nextcloud/lib/private/Session/CryptoSessionData.php","line":149,"function":"clear","class":"OC\\Session\\Internal","type":"->","args":[]},{"file":"/www/nc22b5/nextcloud/lib/base.php","line":926,"function":"clear","class":"OC\\Session\\CryptoSessionData","type":"->","args":[]},{"file":"/www/nc22b5/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/www/nc22b5/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":2,"time":"2021-06-19T06:51:31+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in http:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":""}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":2,"time":"2021-06-19T06:51:31+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in https:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":""}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":2,"time":"2021-06-19T06:51:33+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"--","app":"appstoreFetcher","method":"POST","url":"/index.php","message":"Could not connect to appstore: cURL error 7:  (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apps.nextcloud.com/api/v1/apps.json","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:33+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"Could not boot files_trashbin: Could not resolve trashManager! Class \"trashManager\" does not exist","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8","exception":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve trashManager! Class \"trashManager\" does not exist","Code":0,"Trace":[{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":131,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["trashManager"]},{"file":"/www/nc22b5/nextcloud/lib/private/ServerContainer.php","line":161,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["trashManager",true]},{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":435,"function":"query","class":"OC\\ServerContainer","type":"->","args":["trashManager",true]},{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":56,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["trashManager"]},{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":57,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["trashManager"]},{"function":"OC\\AppFramework\\Bootstrap\\{closure}","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":67,"function":"array_map","args":[{"__class__":"Closure"},[{"name":"serverContainer","__class__":"ReflectionParameter"},{"name":"logger","__class__":"ReflectionParameter"},{"name":"appManager","__class__":"ReflectionParameter"},"*** sensitive parameter replaced ***"]]},{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php","line":51,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":[[{"__class__":"OCA\\Files_Trashbin\\AppInfo\\Application"},"registerTrashBackends"]]},{"file":"/www/nc22b5/nextcloud/apps/files_trashbin/lib/AppInfo/Application.php","line":56,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->","args":[[{"__class__":"OCA\\Files_Trashbin\\AppInfo\\Application"},"registerTrashBackends"]]},{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":178,"function":"boot","class":"OCA\\Files_Trashbin\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/www/nc22b5/nextcloud/lib/private/legacy/OC_App.php","line":205,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["files_trashbin"]},{"file":"/www/nc22b5/nextcloud/lib/private/legacy/OC_App.php","line":139,"function":"loadApp","class":"OC_App","type":"::","args":["files_trashbin"]},{"file":"/www/nc22b5/nextcloud/apps/dav/lib/AppInfo/Application.php","line":168,"function":"loadApps","class":"OC_App","type":"::","args":[["dav"]]},{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":178,"function":"boot","class":"OCA\\DAV\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/www/nc22b5/nextcloud/lib/private/legacy/OC_App.php","line":205,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["dav"]},{"file":"/www/nc22b5/nextcloud/lib/private/legacy/OC_App.php","line":139,"function":"loadApp","class":"OC_App","type":"::","args":["dav"]},{"file":"/www/nc22b5/nextcloud/lib/private/legacy/OC_Util.php","line":204,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem"]]},{"file":"/www/nc22b5/nextcloud/lib/private/User/Session.php","line":553,"function":"setupFS","class":"OC_Util","type":"::","args":["*** sensitive parameter replaced ***"]},{"file":"/www/nc22b5/nextcloud/lib/private/User/Session.php","line":414,"function":"prepareUserLogin","class":"OC\\User\\Session","type":"->","args":[true,"*** sensitive parameter replaced ***"]},{"file":"/www/nc22b5/nextcloud/lib/private/User/Session.php","line":625,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/nc22b5/nextcloud/lib/private/User/Session.php","line":366,"function":"loginWithPassword","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/nc22b5/nextcloud/lib/private/Setup.php","line":431,"function":"login","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/nc22b5/nextcloud/core/Controller/SetupController.php","line":74,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/nc22b5/nextcloud/lib/base.php","line":937,"function":"run","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/nc22b5/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/www/nc22b5/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":120,"CustomMessage":"Could not boot files_trashbin: Could not resolve trashManager! Class \"trashManager\" does not exist"}}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:33+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"Could not boot files_versions: Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8","exception":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated","Code":0,"Trace":[{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":131,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":460,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":432,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":56,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/www/nc22b5/nextcloud/apps/files_versions/lib/AppInfo/Application.php","line":121,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/www/nc22b5/nextcloud/apps/files_versions/lib/AppInfo/Application.php","line":108,"function":"loadBackend","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"@attributes":{"for":"OCP\\Files\\Storage\\IStorage"},"@value":"OCA\\Files_Versions\\Versions\\LegacyVersionsBackend"},{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"__class__":"OC\\AppFramework\\Logger"}]},{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":67,"function":"registerVersionBackends","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"__class__":"OC\\App\\AppManager"},{"__class__":"OC\\AppFramework\\Logger"}]},{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php","line":51,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":[{"__class__":"Closure"}]},{"file":"/www/nc22b5/nextcloud/apps/files_versions/lib/AppInfo/Application.php","line":93,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->","args":[{"__class__":"Closure"}]},{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":178,"function":"boot","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/www/nc22b5/nextcloud/lib/private/legacy/OC_App.php","line":205,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["files_versions"]},{"file":"/www/nc22b5/nextcloud/lib/private/legacy/OC_App.php","line":139,"function":"loadApp","class":"OC_App","type":"::","args":["files_versions"]},{"file":"/www/nc22b5/nextcloud/apps/dav/lib/AppInfo/Application.php","line":168,"function":"loadApps","class":"OC_App","type":"::","args":[["dav"]]},{"file":"/www/nc22b5/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":178,"function":"boot","class":"OCA\\DAV\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/www/nc22b5/nextcloud/lib/private/legacy/OC_App.php","line":205,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["dav"]},{"file":"/www/nc22b5/nextcloud/lib/private/legacy/OC_App.php","line":139,"function":"loadApp","class":"OC_App","type":"::","args":["dav"]},{"file":"/www/nc22b5/nextcloud/lib/private/legacy/OC_Util.php","line":204,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem"]]},{"file":"/www/nc22b5/nextcloud/lib/private/User/Session.php","line":553,"function":"setupFS","class":"OC_Util","type":"::","args":["*** sensitive parameter replaced ***"]},{"file":"/www/nc22b5/nextcloud/lib/private/User/Session.php","line":414,"function":"prepareUserLogin","class":"OC\\User\\Session","type":"->","args":[true,"*** sensitive parameter replaced ***"]},{"file":"/www/nc22b5/nextcloud/lib/private/User/Session.php","line":625,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/nc22b5/nextcloud/lib/private/User/Session.php","line":366,"function":"loginWithPassword","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/nc22b5/nextcloud/lib/private/Setup.php","line":431,"function":"login","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/nc22b5/nextcloud/core/Controller/SetupController.php","line":74,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/nc22b5/nextcloud/lib/base.php","line":937,"function":"run","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/nc22b5/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/www/nc22b5/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":116,"CustomMessage":"Could not boot files_versions: Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated"}}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:33+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:33+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:33+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:33+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:33+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:33+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:33+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:33+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:33+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:33+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2T89QoB25-5d1tr18DKwAAAFY","level":3,"time":"2021-06-19T06:51:34+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"test","app":"no app in context","method":"POST","url":"/index.php","message":"CSP > getAccessList","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8"}
{"reqId":"YM2UFtQoB25-5d1tr18D2AAAAEM","level":3,"time":"2021-06-19T06:52:06+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"--","app":"PHP","method":"GET","url":"/cron.php","message":"opendir(/tmp): Failed to open directory: Permission denied at /www/nc22b5/nextcloud/lib/private/TempManager.php#191","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8","exception":{"Exception":"Error","Message":"opendir(/tmp): Failed to open directory: Permission denied at /www/nc22b5/nextcloud/lib/private/TempManager.php#191","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"opendir(/tmp): Failed to open directory: Permission denied","/www/nc22b5/nextcloud/lib/private/TempManager.php",191]},{"file":"/www/nc22b5/nextcloud/lib/private/TempManager.php","line":191,"function":"opendir","args":["/tmp"]},{"file":"/www/nc22b5/nextcloud/lib/private/TempManager.php","line":180,"function":"getOldFiles","class":"OC\\TempManager","type":"->","args":[]},{"file":"/www/nc22b5/nextcloud/cron.php","line":72,"function":"cleanOld","class":"OC\\TempManager","type":"->","args":[]}],"File":"/www/nc22b5/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"YM2UJdQoB25-5d1tr18ETQAAAEg","level":3,"time":"2021-06-19T06:52:21+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"--","app":"PHP","method":"GET","url":"/cron.php","message":"opendir(/tmp): Failed to open directory: Permission denied at /www/nc22b5/nextcloud/lib/private/TempManager.php#191","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8","exception":{"Exception":"Error","Message":"opendir(/tmp): Failed to open directory: Permission denied at /www/nc22b5/nextcloud/lib/private/TempManager.php#191","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"opendir(/tmp): Failed to open directory: Permission denied","/www/nc22b5/nextcloud/lib/private/TempManager.php",191]},{"file":"/www/nc22b5/nextcloud/lib/private/TempManager.php","line":191,"function":"opendir","args":["/tmp"]},{"file":"/www/nc22b5/nextcloud/lib/private/TempManager.php","line":180,"function":"getOldFiles","class":"OC\\TempManager","type":"->","args":[]},{"file":"/www/nc22b5/nextcloud/cron.php","line":72,"function":"cleanOld","class":"OC\\TempManager","type":"->","args":[]}],"File":"/www/nc22b5/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"YM2UP9QoB25-5d1tr18EwQAAAEI","level":3,"time":"2021-06-19T06:52:47+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"--","app":"PHP","method":"GET","url":"/cron.php","message":"opendir(/tmp): Failed to open directory: Permission denied at /www/nc22b5/nextcloud/lib/private/TempManager.php#191","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8","exception":{"Exception":"Error","Message":"opendir(/tmp): Failed to open directory: Permission denied at /www/nc22b5/nextcloud/lib/private/TempManager.php#191","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"opendir(/tmp): Failed to open directory: Permission denied","/www/nc22b5/nextcloud/lib/private/TempManager.php",191]},{"file":"/www/nc22b5/nextcloud/lib/private/TempManager.php","line":191,"function":"opendir","args":["/tmp"]},{"file":"/www/nc22b5/nextcloud/lib/private/TempManager.php","line":180,"function":"getOldFiles","class":"OC\\TempManager","type":"->","args":[]},{"file":"/www/nc22b5/nextcloud/cron.php","line":72,"function":"cleanOld","class":"OC\\TempManager","type":"->","args":[]}],"File":"/www/nc22b5/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"YM2UQtQoB25-5d1tr18E1QAAAFo","level":3,"time":"2021-06-19T06:52:51+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"--","app":"PHP","method":"GET","url":"/cron.php","message":"opendir(/tmp): Failed to open directory: Permission denied at /www/nc22b5/nextcloud/lib/private/TempManager.php#191","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0","version":"22.0.0.8","exception":{"Exception":"Error","Message":"opendir(/tmp): Failed to open directory: Permission denied at /www/nc22b5/nextcloud/lib/private/TempManager.php#191","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"opendir(/tmp): Failed to open directory: Permission denied","/www/nc22b5/nextcloud/lib/private/TempManager.php",191]},{"file":"/www/nc22b5/nextcloud/lib/private/TempManager.php","line":191,"function":"opendir","args":["/tmp"]},{"file":"/www/nc22b5/nextcloud/lib/private/TempManager.php","line":180,"function":"getOldFiles","class":"OC\\TempManager","type":"->","args":[]},{"file":"/www/nc22b5/nextcloud/cron.php","line":72,"function":"cleanOld","class":"OC\\TempManager","type":"->","args":[]}],"File":"/www/nc22b5/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}

Activity

  1. added
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    on Jun 19, 2021
  2. solracsf commented on Jun 19, 2021

    @solracsf
    Member

    This also happens with v21

  3. changed the title [-][NC22 Beta5] Fresh installation redirects to http://index.php/apps/dashboard/ (host missing)[/-] [+]Fresh installation redirects to http://index.php/apps/dashboard/ (host missing)[/+] on Jul 5, 2021
  4. daringer commented on Aug 3, 2021

    @daringer

    For me this occurs for any release after 20.0.9 ..
    20.0.8 and 21.0.0 do work without issues

  5. szaimen commented on Aug 8, 2021

    @szaimen
    Contributor

    Is this happening on NC22.1.0, too?

  6. dartcafe commented on Aug 10, 2021

    @dartcafe
    ContributorAuthor

    Yep. Still happening. -> https://index.php/apps/files/

  7. added this to the Nextcloud 23 milestone on Aug 25, 2021
  8. 8 remaining items

  9. MRDO5 commented on Sep 15, 2021

    @MRDO5

    HI all! I have write ansible roll for install nextcloud
    https://github.com/MRDO5/ansible-nextcloud-server
    if you can see that and say maybe need add something other logic i will be thankful.

  10. macrofsky commented on Sep 19, 2021

    @macrofsky
  11. self-assigned this
    on Sep 29, 2021
  12. linked a pull request that will close this issueFix redirect during initial setup #28995on Sep 29, 2021
  13. added and removed
    1. to developAccepted and waiting to be taken care of
    on Sep 29, 2021
  14. added
    4. to releaseReady to be released and/or waiting for tests to finish
    and removed on Sep 30, 2021
  15. devgemmy commented on Feb 17, 2022

    @devgemmy

    Ahm, Nextcloud 23 ? So this means there will be no Nextcloud 22 without this bug ? or will it be backported, too? And Nextcloud 23 means that this will only be resolved by January ?

    Not sorted because I have this issue in 23

  16. AdrienChenu commented on Feb 16, 2023

    @AdrienChenu

    Still happening in 25.0.3. Tracked in issue #32873

  17. MRDO5 commented on Mar 31, 2023

    @MRDO5

    Hi! I stell have a problem after fresh install.

    nextcloud-clear-install

    After installation when i see wrong url i press go back and it's helped.
    When finally it's be corrected?

  18. computersalat commented on May 10, 2023

    @computersalat

    Also seeing this with a 25.0.6 clean and fresh installation.
    getting redirected to /nextcloud/index.php/core/apps/recommended to finish installation of recommended apps.

  19. sryze commented on Oct 23, 2023

    @sryze

    I've had the same issue with latest version - it redirected to http://nextcloud/index.php?... instead of http://hostname/nextcloud/index.php?... after a successful installation.

  20. wagnbeu0 commented on May 23, 2024

    @wagnbeu0

    Have the same problem after updating to NC29 ... is there any solution?

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions