linuxserver / docker-nextcloud

GNU General Public License v3.0
718 stars 128 forks source link

[BUG] nextcloud version-30.0.1 #478

Open catmurdock opened 6 days ago

catmurdock commented 6 days ago

Is there an existing issue for this?

Current Behavior

after updating the latest image it failed to start. I have done some basic troublshooting but it didnt work

Expected Behavior

this happen after updating the latest docker image

Steps To Reproduce

I have redeploy the image, but still the same, downgrading is not supported

Environment

- OS:Debian
- How docker service was installed: na

CPU architecture

x86-64

Docker creation

version: "3"
services:
  nextcloud:
    image: lscr.io/linuxserver/nextcloud:latest
    container_name: nextcloud
    environment:
      - TZ=Europe/Amsterdam
      - MYSQL_DATABASE=nextcloud
      - MYSQL_HOST=192.168.2.xxx
      - MYSQL_PASSWORD=xxx
      - MYSQL_USER=xxx
    volumes:
      - /share/nextcloud_config:/config
      - /share/nextcloud_data:/data
    restart: unless-stopped

networks:
  Cloudflare_tunnel:
    external: true

Container logs

Ugrading nextcloud from 30.0.0.14 ...
Setting permissions
An unhandled exception has been thrown:
Error: Failed opening required '/app/www/public/apps/files/composer/autoload.php' (include_path='/app/www/public/3rdparty/pear/archive_tar:/app/www/public/3rdparty/pear/console_getopt:/app/www/public/3rdparty/pear/pear-core-minimal/src:/app/www/public/3rdparty/pear/pear_exception:/app/www/public/apps') in /app/www/public/lib/private/legacy/OC_App.php:118
Stack trace:
#0 /app/www/public/lib/private/AppFramework/Bootstrap/Coordinator.php(76): OC_App::registerAutoloading()
#1 /app/www/public/lib/private/AppFramework/Bootstrap/Coordinator.php(48): OC\AppFramework\Bootstrap\Coordinator->registerApps()
#2 /app/www/public/lib/base.php(657): OC\AppFramework\Bootstrap\Coordinator->runInitialRegistration()
#3 /app/www/public/lib/base.php(1132): OC::init()
#4 /app/www/public/console.php(28): require_once('...')
#5 /app/www/public/occ(11): require_once('...')
#6 {main}Initializing finished
github-actions[bot] commented 6 days ago

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

j0nnymoe commented 6 days ago

You've potentially got a broken third party app installed. Also side note those ENV's for the sql details don't work in our container.

catmurdock commented 6 days ago

Maybe the theme is broken as wel

2024/10/18 22:14:48 [error] 438#438: *1 open() "/app/www/public/apps/theming/img/background/jenna-kim-the-globe.webp" failed (13: Permission denied), client: xx server: _, request: "GET /apps/theming/img/background/jenna-kim-the-globe.webp HTTP/1.1", host: "

catmurdock commented 6 days ago

composer install

Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Package operations: 1 install, 0 updates, 0 removals

:/app/www/public#occ An unhandled exception has been thrown: Error: Failed opening required '/app/www/public/apps/files/composer/autoload.php' (include_path='/app/www/public/3rdparty/pear/archive_tar:/app/www/public/3rdparty/pear/console_getopt:/app/www/public/3rdparty/pear/pear-core-minimal/src:/app/www/public/3rdparty/pear/pear_exception:/app/www/public/apps') in /app/www/public/lib/private/legacy/OC_App.php:118 Stack trace:

0 /app/www/public/lib/private/AppFramework/Bootstrap/Coordinator.php(76): OC_App::registerAutoloading()

1 /app/www/public/lib/private/AppFramework/Bootstrap/Coordinator.php(48): OC\AppFramework\Bootstrap\Coordinator->registerApps()

2 /app/www/public/lib/base.php(657): OC\AppFramework\Bootstrap\Coordinator->runInitialRegistration()

3 /app/www/public/lib/base.php(1132): OC::init()

4 /app/www/public/console.php(28): require_once('...')

5 /app/www/public/occ(11): require_once('...')

/app/www/public#composer update --no-scripts Loading composer repositories with package information Updating dependencies Nothing to modify in lock file Installing dependencies from lock file (including require-dev) Nothing to install, update or remove Generating optimized autoload files

j0nnymoe commented 6 days ago

You need to check nextcloud for any issues with the apps/themes you're using. This isn't a container issue.

nurhalim88 commented 4 days ago

I had encounter same error, not able to downgrade with previous version. please help.. 😢. Something is wrong with latest container...