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

Upgrade to Nextcloud 10 #12

Closed
arkan opened this issue Sep 11, 2016 · 1 comment
Closed

Upgrade to Nextcloud 10 #12

arkan opened this issue Sep 11, 2016 · 1 comment

Comments

@arkan
Copy link

arkan commented Sep 11, 2016

Hello,

Version 10 has been released 20 days ago.

It would be great to update this Dockerfile to use the latest version :)

@arkan
Copy link
Author

arkan commented Sep 16, 2016

This repo has been updated to support NextCloud 10.

However it doesn't update an existing Docker container. To do so you can use the following instructions:

##Open terminal in container
docker exec -it nextcloud bash

##Turn on maintenance mode
cd /config/www/nextcloud/
sudo -u abc php occ maintenance:mode --on

##Backup current nextcloud install
cd /config/www/
mv nextcloud nextcloud-backup

##Grab newest nextcloud release and unpack it
wget https://download.nextcloud.com/server/releases/nextcloud-10.0.0.tar.bz2
tar -xvf nextcloud-10.0.0.tar.bz2

##Copy across old config.php from backup
cp nextcloud-backup/config/config.php nextcloud/config/config.php

##Now Restart docker container via Unraid WebGUI

##Open terminal in container
docker exec -it nextcloud bash

##Perform upgrade
cd /config/www/nextcloud/
sudo -u abc php occ upgrade

##Turn off maintenance mode
sudo -u abc php occ maintenance:mode --off

## Now Restart docker container via Unraid WebGUI

Source: https://lime-technology.com/forum/index.php?topic=50090.msg497243#msg497243

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

No branches or pull requests

1 participant