Trying to Install on pi

I have been trying to install OwnCloud on my Pi for the better part of the day and seem to be getting error after error after error - haven’t even made it past the initial config screen. The most recent one is the following and has me a bit stumped.

When I try to do it via web I get: The server encountered an internal error and was unable to complete your request.

And if I try from the command line I get the following:

Error: [] operator not supported for strings in /var/www/html/owncloud/lib/private/App/InfoParser.php:186
Stack trace:
#0 /var/www/html/owncloud/lib/private/App/InfoParser.php(188): OC\App\InfoParser->xmlToArray(Object(SimpleXMLElement))
#1 /var/www/html/owncloud/lib/private/App/InfoParser.php(59): OC\App\InfoParser->xmlToArray(Object(SimpleXMLElement))
#2 /var/www/html/owncloud/lib/private/legacy/app.php(662): OC\App\InfoParser->parse(’/var/www/html/o…’)
#3 /var/www/html/owncloud/lib/private/Installer.php(527): OC_App::getAppInfo(‘files_sharing’)
#4 /var/www/html/owncloud/lib/private/Setup.php(379): OC\Installer::installShippedApps()
#5 /var/www/html/owncloud/core/Command/Maintenance/Install.php(84): OC\Setup->install(Array)
#6 /var/www/html/owncloud/3rdparty/symfony/console/Command/Command.php(259): OC\Core\Command\Maintenance\Install->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /var/www/html/owncloud/3rdparty/symfony/console/Application.php(844): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/owncloud/3rdparty/symfony/console/Application.php(192): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Maintenance\Install), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/owncloud/3rdparty/symfony/console/Application.php(123): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/owncloud/lib/private/Console/Application.php(146): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/owncloud/console.php(94): OC\Console\Application->run()
#12 /var/www/html/owncloud/occ(11): require_once(’/var/www/html/o…’)

Steps to reproduce

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Server configuration

Operating system:

Web server:


PHP version:

ownCloud version: (see ownCloud admin page)

Updated from an older ownCloud or fresh install:

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
paste the results into and puth the link here.

The content of config/config.php:

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.


If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/…

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';

Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration


Operating system:


Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

Hey @bertmartin,

Welcome to the forums! As you can see, there is a post template when creating a new server post. This is there so the users of this forum can help you effectively. However you didn’t fill it out and the missing information is making it impossible for us to help you.

Perhaps you can tell us which guide you were following and which steps you have successfully completed so far.

Do you have a confirmed working LAMP stack + redis? To confirm this, you should be able to create an info.php file inside your webroot with the following content:

<?PHP phpinfo(); ?>

Once this is done you should be able to navigate to an URL similar to this one in your browser:


And it should show a page like this:

Another very important thing you should post is the content of your config.php (also already asked for in the post template).

1 Like