nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.33k stars 4.06k forks source link

NextCloudPi update from v0.46.0 to v0.56.10 fails #9615

Closed nnako closed 6 years ago

nnako commented 6 years ago
### Steps to reproduce 1. install NextCloudPi v0.46.0 on Raspberry Pi v3 B 2. press "version v0.56.10 is available" banner on top of NextCloudPi admin window 3. press "Run" button and wait... ### Expected behaviour successful update to NextCloudPi v0.56.10 ### Actual behaviour **on NextCloudPi service admin window**: "Something went wrong. Try refreshing the page" **on NextCloud WebInterface**: "Service Unavailable. The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache/2.4.25 (Raspbian) Server at 192.168.1.88 Port 443" ### Server configuration **Operating system**: NextCloudPi v0.46.0 (included respective Raspbian version) **Web server:** default from NextCloudPi installation **Database:** default from NextCloudPi installation **PHP version:** default from NextCloudPi installation **Nextcloud version:** (see Nextcloud admin page) default from NextCloudPi installation **Updated from an older Nextcloud/ownCloud or fresh install:** ? **Where did you install Nextcloud from:** NextCloudPi v0.46.0 **Signing status:**
[ not accessible ]
**List of activated apps:**
[ not accessible ]
**Nextcloud configuration:**
Config report ``` 'xxx', 'secret' => 'xxx', 'trusted_domains' => array ( 0 => 'localhost', 5 => 'nextcloudpi.local', 1 => '192.168.1.88', 4 => 'yyy', ), 'datadirectory' => '/media/myCloudDrive/ncdata', 'overwrite.cli.url' => 'yyy', 'dbtype' => 'mysql', 'version' => '13.0.1.1', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'ncadmin', 'dbpassword' => 'zzz', 'installed' => true, 'instanceid' => 'oc6308s2nbol', 'memcache.local' => '\\OC\\Memcache\\Redis', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => '/var/run/redis/redis.sock', 'port' => 0, 'timeout' => 0.0, 'password' => 'qqq', ), 'mail_smtpmode' => 'php', 'mail_smtpauthtype' => 'LOGIN', 'mail_from_address' => 'admin', 'mail_domain' => 'ownyourbits.com', 'overwriteprotocol' => 'https', 'loglevel' => '2', 'log_type' => 'file', 'maintenance' => false, 'logfile' => '/media/myCloudDrive/ncdata/nextcloud.log', 'theme' => '', ); ```
**Are you using external storage, if yes which one:** local/smb/sftp/... usb **Are you using encryption:** yes/no no **Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/... ? ### Client configuration **Browser:** Firefox (latest version) **Operating system:** Windows 7 ### Logs #### NextCloudPi AdminPage log
``` Downloading updates Performing updates Installing NFS Hit:1 http://archive.raspberrypi.org/debian stretch InRelease Get:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease [15.0 kB] Get:3 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages [11.7 MB] Fetched 11.7 MB in 30s (383 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... nfs-kernel-server is already the newest version (1:1.3.4-2.1). 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded. Synchronizing state of nfs-kernel-server.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install disable nfs-kernel-server Created symlink /etc/systemd/system/nfs-blkmap.service → /dev/null. Installing SSH Installing UFW Hit:1 http://archive.raspberrypi.org/debian stretch InRelease Hit:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... ufw is already the newest version (0.35-4). 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded. Synchronizing state of ufw.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install disable ufw Installing dnsmasq Hit:1 http://archive.raspberrypi.org/debian stretch InRelease Hit:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... dnsmasq is already the newest version (2.76-5+rpt1+deb9u1). 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded. Installing duckDNS Installing fail2ban Hit:1 http://archive.raspberrypi.org/debian stretch InRelease Hit:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... fail2ban is already the newest version (0.9.6-2). whois is already the newest version (5.2.17~deb9u1). 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded. Installing freeDNS Hit:1 http://mirrordirector.raspbian.org/raspbian stretch InRelease Hit:2 http://archive.raspberrypi.org/debian stretch InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... dnsutils is already the newest version (1:9.10.3.dfsg.P4-12.3+deb9u4). 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded. Installing letsencrypt Hit:1 http://archive.raspberrypi.org/debian stretch InRelease Hit:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... python2.7-minimal is already the newest version (2.7.13-2+deb9u2). 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded. --2018-05-26 09:48:11-- https://github.com/letsencrypt/letsencrypt/archive/master/latest.tar.gz Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112 Connecting to github.com (github.com)|192.30.253.113|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://github.com/certbot/certbot/archive/master/latest.tar.gz [following] --2018-05-26 09:48:13-- https://github.com/certbot/certbot/archive/master/latest.tar.gz Reusing existing connection to github.com:443. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/certbot/certbot/tar.gz/master [following] --2018-05-26 09:48:13-- https://codeload.github.com/certbot/certbot/tar.gz/master Resolving codeload.github.com (codeload.github.com)... 192.30.253.121, 192.30.253.120 Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: 'STDOUT' 0K .......... . ......... .......... ........ .. .......... 116K 50K .......... .......... .......... .......... ... ....... 258K 100K .......... .......... .......... ... ....... .......... 483K 150K .......... .......... .......... .......... .......... 324K 200K .......... .......... ..... ..... .......... .......... 863K 250K .......... .......... .......... .......... .......... 318K 300K .......... .... ...... .......... .......... .......... 412K 350K .......... .......... .......... .......... .......... 550K 400K ...... .... .......... .......... .......... .......... 375K 450K .......... .......... .......... ..... ..... .......... 587K 500K .......... .......... .......... .......... .......... 442K 550K .......... .......... .......... .......... .......... 553K 600K .......... .......... .......... .......... .......... 451K 650K .......... .......... .......... .......... ...... .... 558K 700K .......... .......... .......... .......... .......... 620K 750K .......... .......... .......... .......... .......... 477K 800K ....... .... ... .......... .......... .......... .......... 763K 850K .......... .......... .......... .......... .......... 412K 900K .......... .......... . ......... .......... .......... 835K 950K .......... .......... .......... .......... .......... 512K 1000K .......... .......... .... ...... .......... .......... 528K 1050K .......... .......... .......... .......... .......... 974K 1100K .......... .......... .......... 489K=2.7s 2018-05-26 09:48:17 (423 KB/s) - written to stdout [1157172] Upgrading certbot-auto 0.21.1 to 0.24.0... Replacing certbot-auto... Creating virtual environment... Installing Python packages... Installation succeeded. ------------------------------------------------------------------------------- letsencrypt-auto [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ... Certbot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing the certificate. The most common SUBCOMMANDS and flags are: obtain, install, and renew certificates: (default) run Obtain & install a certificate in your current webserver certonly Obtain or renew a certificate, but do not install it renew Renew all previously obtained certificates that are near expiry enhance Add security enhancements to your existing configuration -d DOMAINS Comma-separated list of domains to obtain a certificate for --apache Use the Apache plugin for authentication & installation --standalone Run a standalone webserver for authentication --nginx Use the Nginx plugin for authentication & installation --webroot Place files in a server's webroot folder for authentication --manual Obtain certificates interactively, or using shell script hooks -n Run non-interactively --test-cert Obtain a test certificate from a staging server --dry-run Test "renew" or "certonly" without saving any certificates to disk manage certificates: certificates Display information about certificates you have from Certbot revoke Revoke a certificate (supply --cert-path) delete Delete a certificate manage your account with Let's Encrypt: register Create a Let's Encrypt ACME account --agree-tos Agree to the ACME server's Subscriber Agreement -m EMAIL Email address for important account notifications More detailed help: -h, --help [TOPIC] print this message, or detailed help on a topic; the available TOPICS are: all, automation, commands, paths, security, testing, or any of the subcommands or plugins (certonly, renew, install, register, nginx, apache, standalone, webroot, etc.) ------------------------------------------------------------------------------- Installing modsecurity Hit:1 http://mirrordirector.raspbian.org/raspbian stretch InRelease Hit:2 http://archive.raspberrypi.org/debian stretch InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... libapache2-mod-security2 is already the newest version (2.9.1-2). modsecurity-crs is already the newest version (3.0.0-3). 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded. Module security2 already disabled Installing nc-admin Installing nc-audit Hit:1 http://mirrordirector.raspbian.org/raspbian stretch InRelease Hit:2 http://archive.raspberrypi.org/debian stretch InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... debian-goodies is already the newest version (0.69.1). debsecan is already the newest version (0.4.19~deb9u1). debsums is already the newest version (2.2.2). lynis is already the newest version (2.4.0-1). 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded. Installing nc-automount Hit:1 http://archive.raspberrypi.org/debian stretch InRelease Hit:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... inotify-tools is already the newest version (3.14-2). udiskie is already the newest version (1.5.1-2). 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded. Installing nc-autoupdate-nc Installing nc-autoupdate-ncp Installing nc-backup-auto Installing nc-backup Installing nc-database Installing nc-datadir Hit:1 http://archive.raspberrypi.org/debian stretch InRelease Hit:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... btrfs-tools is already the newest version (4.7.3-1). 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded. Installing nc-export-ncp Installing nc-fix-permissions Installing nc-format-USB Installing nc-forward-ports Hit:1 http://mirrordirector.raspbian.org/raspbian stretch InRelease Hit:2 http://archive.raspberrypi.org/debian stretch InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... miniupnpc is already the newest version (1.9.20140610-4). 0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded. Installing nc-httpsonly Activating nc-httpsonly Forcing HTTPS On Installing nc-import-ncp Installing nc-info Hit:1 http://archive.raspberrypi.org/debian stretch InRelease Hit:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease Reading package lists... ```
nnako commented 6 years ago

Sorry... shouldn't have put it here but into the NextCloudPi issues.