Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dartcafe opened this issue Jun 19, 2021 · 19 comments · Fixed by #28995
Closed

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

dartcafe opened this issue Jun 19, 2021 · 19 comments · Fixed by #28995
Assignees
Labels
4. to release Ready to be released and/or waiting for tests to finish bug feature: install and update
Milestone

Comments

@dartcafe
Copy link
Contributor

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":"--"}}

@dartcafe dartcafe added bug 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Jun 19, 2021
@solracsf
Copy link
Member

This also happens with v21

@skjnldsv skjnldsv 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) Jul 5, 2021
@daringer
Copy link

daringer commented Aug 3, 2021

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

@szaimen
Copy link
Contributor

szaimen commented Aug 8, 2021

Is this happening on NC22.1.0, too?

@dartcafe
Copy link
Contributor Author

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

@szaimen szaimen added 1. to develop Accepted and waiting to be taken care of feature: install and update and removed needs info 0. Needs triage Pending check for reproducibility or if it fits our roadmap 21-feedback labels Aug 17, 2021
@kgnfth
Copy link

kgnfth commented Aug 23, 2021

@szaimen Just installed 22.1.0, and got redirected to https://index.php/core/apps/recommended

@skjnldsv skjnldsv added this to the Nextcloud 23 milestone Aug 25, 2021
@daringer
Copy link

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 ?

@szaimen
Copy link
Contributor

szaimen commented Aug 27, 2021

No, it will be backported if possible.

@kesselb

This comment has been minimized.

@nextcloud nextcloud deleted a comment Aug 31, 2021
@nextcloud nextcloud deleted a comment Aug 31, 2021
@MRDO5
Copy link

MRDO5 commented Aug 31, 2021

image
After installation when i see wrong url i press go back and it's helped
image
But really it's need fix.

@daringer
Copy link

Yap, can also confirm this behavior. Even more, despite the wrong redirect I could not find anything else that was negatively affected by this.

@pktl
Copy link

pktl commented Sep 14, 2021

I was stumbling over this as well with a fresh docker-based installation (same behaviour with versions 20.0.7, 20.0.8, 21.0.4).

What eventually worked: Manually terminating the url for installation with /index.php.

For example:

  • your.domain.tld/nextcloud didn't work (redirected to your.domain.tld/index.php).
  • your.domain.tld/nextcloud/index.php worked.

@MRDO5
Copy link

MRDO5 commented Sep 15, 2021

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.

@macrofsky

This comment has been minimized.

@artonge artonge self-assigned this Sep 29, 2021
@artonge artonge linked a pull request Sep 29, 2021 that will close this issue
@artonge artonge added 3. to review Waiting for reviews and removed 1. to develop Accepted and waiting to be taken care of labels Sep 29, 2021
@artonge artonge added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 30, 2021
@devgemmy
Copy link

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

@AdrienChenu
Copy link

Still happening in 25.0.3. Tracked in issue #32873

@MRDO5
Copy link

MRDO5 commented Mar 31, 2023

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?

@computersalat
Copy link

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.

@sryze
Copy link

sryze commented Oct 23, 2023

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.

@wagnbeu0
Copy link

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
Labels
4. to release Ready to be released and/or waiting for tests to finish bug feature: install and update
Projects
None yet
Development

Successfully merging a pull request may close this issue.