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

[BUG] No webinterface after upgrade #328

Closed
1 task done
aMU5Ed opened this issue Jun 28, 2023 · 6 comments
Closed
1 task done

[BUG] No webinterface after upgrade #328

aMU5Ed opened this issue Jun 28, 2023 · 6 comments
Labels

Comments

@aMU5Ed
Copy link

aMU5Ed commented Jun 28, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

After upgrading the docker container from 26.0.2 to 27.0.0 I have following experience. File sync basically works but desktop and mobile client are sting an HTTP 500. Webinterface is not accessable because of:

Interner Serverfehler
Der Server konnte die Anfrage nicht fertig stellen.

Sollte dies erneut auftreten, sende bitte die nachfolgenden technischen Einzelheiten an deinen Server-Administrator.

Weitere Details können im Server-Protokoll gefunden werden.

Technische Details
Entfernte Adresse: 192.168.1.31
Anfragekennung: 1xLCGuaY1JohNusWGOZI

I have the follwing error in the nextcloud.log

So webinterface is not accessable at all.

Expected Behavior

Webinterface and desktop sync should work.

Steps To Reproduce

  1. Upgrade from 26.0.2 to 27.0.0 and restart the docker image
  2. Try to log in

Environment

- OS: unraid 6.12.1
- How docker service was installed: using unraid
 - Nginx (swag) is installed as reverse proxy in front of nextcloud

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    server_name nextcloud.*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    location / {
        include /config/nginx/proxy.conf;
        resolver 127.0.0.11 valid=30s;
        set $upstream_nextcloud nextcloud;
        proxy_max_temp_file_size 2048m;
        proxy_pass https://$upstream_nextcloud:443;
        add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
        add_header X-Frame-Options "SAMEORIGIN" always;
    }

}

CPU architecture

x86-64

Docker creation

Standard, nothing customized

Container logs

{"reqId":"1xLCGuaY1JohNusWGOZI","level":3,"time":"2023-06-28T16:59:09+00:00","remoteAddr":"192.168.1.31","user":"thomas","app":"index","method":"GET","url":"/apps/dashboard/","message":"OC\\App\\AppManager::checkAppForUser(): Argument #2 ($user) must be of type ?OCP\\IUser, string given, called in /app/www/public/lib/private/App/AppManager.php on line 307","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36","version":"27.0.0.8","exception":{"Exception":"TypeError","Message":"OC\\App\\AppManager::checkAppForUser(): Argument #2 ($user) must be of type ?OCP\\IUser, string given, called in /app/www/public/lib/private/App/AppManager.php on line 307","Code":0,"Trace":[{"file":"/app/www/public/lib/private/App/AppManager.php","line":307,"function":"checkAppForUser","class":"OC\\App\\AppManager","type":"->"},{"file":"/config/www/nextcloud/apps/files_fulltextsearch/lib/Service/GroupFoldersService.php","line":103,"function":"isEnabledForUser","class":"OC\\App\\AppManager","type":"->"},{"function":"__construct","class":"OCA\\Files_FullTextSearch\\Service\\GroupFoldersService","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php","line":84,"function":"newInstanceArgs","class":"ReflectionClass","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":494,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":466,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php","line":97,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php","line":84,"function":"array_map"},{"file":"/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":494,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":466,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php","line":97,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php","line":84,"function":"array_map"},{"file":"/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":494,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/app/www/public/lib/private/ServerContainer.php","line":155,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/config/www/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php","line":122,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/config/www/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php","line":311,"function":"loadProvider","class":"OCA\\FullTextSearch\\Service\\ProviderService","type":"->"},{"file":"/config/www/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php","line":282,"function":"loadProvidersFromList","class":"OCA\\FullTextSearch\\Service\\ProviderService","type":"->"},{"file":"/config/www/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php","line":102,"function":"loadProvidersFromApp","class":"OCA\\FullTextSearch\\Service\\ProviderService","type":"->"},{"file":"/config/www/nextcloud/apps/fulltextsearch/lib/Service/ProviderService.php","line":156,"function":"loadProviders","class":"OCA\\FullTextSearch\\Service\\ProviderService","type":"->"},{"file":"/config/www/nextcloud/apps/fulltextsearch/lib/Capabilities.php","line":80,"function":"getConfiguredProviders","class":"OCA\\FullTextSearch\\Service\\ProviderService","type":"->"},{"file":"/app/www/public/lib/private/CapabilitiesManager.php","line":74,"function":"getCapabilities","class":"OCA\\FullTextSearch\\Capabilities","type":"->"},{"file":"/app/www/public/lib/private/Template/JSConfigHelper.php","line":166,"function":"getCapabilities","class":"OC\\CapabilitiesManager","type":"->"},{"file":"/app/www/public/lib/private/TemplateLayout.php","line":240,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->"},{"file":"/app/www/public/lib/private/legacy/OC_Template.php","line":182,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/app/www/public/lib/public/AppFramework/Http/TemplateResponse.php","line":213,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":182,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/lib/base.php","line":1064,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/app/www/public/lib/private/App/AppManager.php","Line":313,"CustomMessage":"--"}}
@github-actions
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@CCrypton
Copy link

Same Problem

@aptalca
Copy link
Member

aptalca commented Jun 28, 2023

We need the template filled in properly with container logs and docker run or compose yaml

@github-actions
Copy link

A human has marked this issue as invalid, this likely happened because the issue template was not used in the creation of the issue.

@aMU5Ed
Copy link
Author

aMU5Ed commented Jun 29, 2023

@aptalca Sorry for any inconvinience but this one of my first issues on Github.
Here is the container log:
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────

  ██╗     ███████╗██╗ ██████╗ 
  ██║     ██╔════╝██║██╔═══██╗
  ██║     ███████╗██║██║   ██║
  ██║     ╚════██║██║██║   ██║
  ███████╗███████║██║╚██████╔╝
  ╚══════╝╚══════╝╚═╝ ╚═════╝ 

Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID: 99
User GID: 100
───────────────────────────────────────

using keys found in /config/keys
**** The following active confs have different version dates than the samples that are shipped. ****
**** This may be due to user customization or an update to the samples. ****
**** You should compare the following files to the samples in the same folder and update them. ****
**** Use the link at the top of the file to view the changelog. ****
┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
│ old date │ new date │ path │
├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
│ 2018-08-16 │ 2023-04-13 │ /config/nginx/nginx.conf │
│ │ 2023-06-23 │ /config/nginx/site-confs/default.conf │
└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
[custom-init] No custom files found, skipping...
[ls.io-init] done.

Here is the docker run command:
docker run
-d
--name='nextcloud'
--net='br0'
--ip='192.168.1.204'
-e TZ="Europe/Berlin"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="unraid"
-e HOST_CONTAINERNAME="nextcloud"
-e 'TCP_PORT_443'='443'
-e 'PUID'='99'
-e 'PGID'='100'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='https://mysubdomain.mydomain'
-l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/nextcloud-icon.png'
-v '/mnt/user/nextcloud_data/':'/data':'rw'
-v '/mnt/user/nextcloud_scanner/':'/scanner':'rw'
-v '/mnt/user/appdata/nextcloud':'/config':'rw' 'linuxserver/nextcloud'

@aMU5Ed
Copy link
Author

aMU5Ed commented Jun 29, 2023

This is a nextcloud issue: nextcloud/files_fulltextsearch#221
Workaround is: occ app:disable files_fulltextsearch

@aMU5Ed aMU5Ed closed this as completed Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

3 participants