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

Mail app defunct after crashed update #7579

Open
RainerBoettchers opened this issue Nov 11, 2022 · 2 comments
Open

Mail app defunct after crashed update #7579

RainerBoettchers opened this issue Nov 11, 2022 · 2 comments

Comments

@RainerBoettchers
Copy link

RainerBoettchers commented Nov 11, 2022

Steps to reproduce

  1. After running app update the updater reports an error
  2. mail app reports a server error when called
  3. Removing and reinstalling does not help

Expected behavior

Mail app should work as usual

Actual behavior

Server error when activating the mail app

Technische Details
Entfernte Adresse: 2001:16b8:1ea4:200:85ad:632e:6cac:a180
Anfragekennung: Y29hW118ZcsrJRwhn_PjiwAACH8

Mail app version

1.14.2

Mailserver or service

IMAP/SMTP via IONOS hosting

Operating system

Linux (Unknown version)

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database

MySQL

Additional info

Last lines from log:

/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps/mail/vendor/autoload.php#23","Code":0,"Trace":[{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps/mail/vendor/autoload.php","line":23,"function":"onError","class":"OC\Log\ErrorHandler","type":"::"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps/mail/vendor/autoload.php","line":23,"function":"require_once"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps/mail/lib/AppInfo/Application.php","line":79,"args":["/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps/mail/vendor/autoload.php"],"function":"include_once"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/composer/composer/ClassLoader.php","line":571,"args":["/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps/mail/lib/AppInfo/Application.php"],"function":"include"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/composer/composer/ClassLoader.php","line":428,"function":"Composer\Autoload\includeFile"},{"function":"loadClass","class":"Composer\Autoload\ClassLoader","type":"->"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/private/AppFramework/Bootstrap/Coordinator.php","line":126,"function":"class_exists"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/private/AppFramework/Bootstrap/Coordinator.php","line":91,"function":"registerApps","class":"OC\AppFramework\Bootstrap\Coordinator","type":"->"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/base.php","line":661,"function":"runInitialRegistration","class":"OC\AppFramework\Bootstrap\Coordinator","type":"->"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/base.php","line":1111,"function":"init","class":"OC","type":"::"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/index.php","line":34,"args":["/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/base.php"],"function":"require_once"}],"File":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"Y26fEk6W-UwF9ILhHrIS4wAACUQ","level":4,"time":"2022-11-11T19:14:27+00:00","remoteAddr":"2001:16b8:1ee6:1900:5556:3ca6:4099:9ebf","user":"--","app":"mail","method":"GET","url":"/intern/index.php/apps/theming/icon?v=11","message":"Error during app service registration: Failed opening required '/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps/mail/vendor/composer/autoload_real.php' (include_path='/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/archive_tar:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/console_getopt:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/pear-core-minimal/src:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/pear_exception:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps')","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36","version":"24.0.6.1","exception":{"Exception":"Error","Message":"Failed opening required '/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps/mail/vendor/composer/autoload_real.php' (include_path='/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/archive_tar:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/console_getopt:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/pear-core-minimal/src:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/pear_exception:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps')","Code":0,"Trace":[{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps/mail/lib/AppInfo/Application.php","line":79,"function":"include_once"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/composer/composer/ClassLoader.php","line":571,"args":["/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps/mail/lib/AppInfo/Application.php"],"function":"include"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/composer/composer/ClassLoader.php","line":428,"function":"Composer\Autoload\includeFile"},{"function":"loadClass","class":"Composer\Autoload\ClassLoader","type":"->"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/private/AppFramework/Bootstrap/Coordinator.php","line":126,"function":"class_exists"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/private/AppFramework/Bootstrap/Coordinator.php","line":91,"function":"registerApps","class":"OC\AppFramework\Bootstrap\Coordinator","type":"->"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/base.php","line":661,"function":"runInitialRegistration","class":"OC\AppFramework\Bootstrap\Coordinator","type":"->"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/base.php","line":1111,"function":"init","class":"OC","type":"::"},{"file":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/index.php","line":34,"args":["/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/base.php"],"function":"require_once"}],"File":"/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps/mail/vendor/autoload.php","Line":23,"message":"Error during app service registration: Failed opening required '/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps/mail/vendor/composer/autoload_real.php' (include_path='/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/archive_tar:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/console_getopt:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/pear-core-minimal/src:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/pear_exception:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps')","exception":{},"CustomMessage":"Error during app service registration: Failed opening required '/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps/mail/vendor/composer/autoload_real.php' (include_path='/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/archive_tar:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/console_getopt:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/pear-core-minimal/src:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/3rdparty/pear/pear_exception:/mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/apps')"}}

@RainerBoettchers
Copy link
Author

After removing and reinstalling again, the app now works again. Now the update process for Nextcloud reports an error in step 3. And doesn't complete.

@RainerBoettchers
Copy link
Author

Trying to repair manually results in

An unhandled exception has been thrown:
TypeError: OC\AppFramework\Http\Request::getScriptName(): Return value must be of type string, null returned in /mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/private/AppFramework/Http/Request.php:804
Stack trace:
#0 /mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/base.php(169): OC\AppFramework\Http\Request->getScriptName()
#1 /mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/base.php(583): OC::initPaths()
#2 /mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/lib/base.php(1111): OC::init()
#3 /mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/console.php(48): require_once('...')
#4 /mnt/web403/e0/31/59947131/htdocs/marktplatz2022/intern/occ(11): require_once('...')

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

No branches or pull requests

1 participant