-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Nextcloud 13 - New Instalation 500 Internal Server Error #8406
Comments
For me, it is a dependency broken or absent. do you have php-mbstring package installed ?? This one is mandadory for some php output with apache 2.4.x I am using debian 9.3 witch is very similar to Ubuntu.
( ran in multiples errors when not respecting those steps ) apt-get install apache2 php php-pear curl php-gd net-tools vim nano ccze libgd-tools gpm php-cgi php-json php-zip zip unzip libnghttp2-dev apache2-suexec-custom debian-keyring gcc binutils patch libgd-dev gcc-6-locales gcc-multilib make autoconf automake libtool flex bison apt-get install mariadb-server apt-get install phpmyadmin php-mbstring php-gettext php7.0-fpm apt-get install munin munin-node munin-plugins-extra smartmontools mon libdbd-csv-perl liblog-dispatch-filerotate-perl libxml-dom-perl libmojolicious-perl libdbi-test-perl libjson-perl libxml-sax-perl libcrypt-des-perl lm-sensors libapache2-mod-fcgid ethtool libdbd-pg-perl read-edid i2c-tools mon-contrib liblwp-useragent-determined-perl libnet-irc-perl libxml-simple-perl apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python after all configuration and specific setup i used the setup-nextcloud.php for web install ... but using the apt-get shouldn't be so different in the process |
I'm also receiving a 500 error and my installation was left in maintenance mode after the upgrade. Manually deactivating maintenance mode (via the CLI) still results in 500 HTTP status codes. |
You want help, at least fill up the information form for your system !!! My christal ball has no more battery |
Steps to reproduce The update appeared to complete successfully, but the page redirected to a 500 status error and remained in maintenance mode. Server configuration
Operating system: Web server: Database: PHP version: Nextcloud version: (see Nextcloud admin page) Updated from an older Nextcloud/ownCloud or fresh install: |
Error 500 is an internal server error, you need to check your server logfiles for more information about this error. It does not make sense that everybody with this error puts a post here, the reason for this error can be very different (missing php modules, file permission settings, crashed php-process, bugs in nextcloud code, ...). If the php-code is shown in the browser, the php-module is not installed properly. I don't want to go into more details. For install and support questions, please take a look into our forum help.nextcloud.com. This bug tracker should be used for specific problems related to the code. If you are not sure, the forum is always a good starting point.... |
Steps to reproduce
I've installed Nextcloud 13 with the following procedure:
apt-get install apache2 mariadb-server -y
systemctl start apache2
systemctl enable apache2
systemctl start mysql
systemctl enable mysql
apt-get install php7.1-xml php7.1 php7.1-cgi php7.1-cli php7.1-gd php7.1-curl php7.1-zip php7.1-mysql php7.1-mbstring wget unzip -y
mysql_secure_installation
created a database named "nextclouddb" and a user 'nextcloud'@'localhost'.
Downloaded and unpacked nextcloud 13 then:
chown -R www-data:www-data /var/www/html/nextcloud/
Installed Nextcloud:
sudo -u www-data php7.1 occ maintenance:install --database mysql --database-name nextclouddb --database-user nextcloud --admin-user admin
configured config.php and then:
sudo -u www-data php /var/www/html/nextcloud/occ maintenance:update:htaccess
sudo systemctl restart apache2
Expected behaviour
When I connect from my browser to http://127.0.0.1/nextcloud or http://localhost/nextcloud I should see the nextcloud start page.
Actual behaviour
Here is the error on the browser:
Server configuration
Here is my config.php:
Operating system:
Ubuntu 16.04
Web server:
Apache 2
Database:
MariaDB
PHP version:
7.1
Nextcloud version: (see Nextcloud admin page)
13
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh
The text was updated successfully, but these errors were encountered: