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] nextcloud version-30.0.1 #478

Open
1 task done
catmurdock opened this issue Oct 18, 2024 · 7 comments
Open
1 task done

[BUG] nextcloud version-30.0.1 #478

catmurdock opened this issue Oct 18, 2024 · 7 comments

Comments

@catmurdock
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

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
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.

@j0nnymoe
Copy link
Member

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
Copy link
Author

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
Copy link
Author

#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

  • Downloading bamarni/composer-bin-plugin (1.8.2)
  • Installing bamarni/composer-bin-plugin (1.8.2): Extracting archive
    Generating optimized autoload files
    Class FeedBackHandler located in ./core/ajax/update.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.

[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install
[bamarni-bin] Could not find any bin namespace.
composer dump-autoload --no-dev
Generating optimized autoload files
Class FeedBackHandler located in ./core/ajax/update.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Generated optimized autoload files containing 2001 classes

:/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
Copy link
Member

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

@nurhalim88
Copy link

nurhalim88 commented Oct 21, 2024

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

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

4 participants