Installation on Strato Web Server Problem

installation
hosting

#1

I wanted to install the newest version of owncloud on a webserver.

Steps to reproduce
1. I downloaded owncloud-9.1.1.zip, extracted it and put it on the server in the directory "owncloud"
2. I set the rights for this directory, all subdirectories and all files to "777"
3. I executed index.php
4. I inserted my name and a passwort. I set the data-directory to "./owncloud/data"

Actual behaviour
I got the error message, that the data-directory couldn't be created or that it wasn't possible to write into it.
I checked on the server, and the directory "owncloud/data" had been created. There were 3 Files in it:
".htaccess"
"index.html"
"owncloud.log"

owncloud.log reads:
{"reqId":"V-jGjsCoKesAAFv2T0MAAANh","remoteAddr":"31.18.254.155","app":"PHP","message":"Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php:\/\/input stream instead. at Unknown#0","level":3,"time":"2016-10-08T10:12:34+00:00","method":"POST","url":"\/owncloud\/index.php\/heartbeat","user":"--"}
{"reqId":"V-jKFsCoKesAAG0iRsoAAACj","remoteAddr":"31.18.254.155","app":"PHP","message":"Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php:\/\/input stream instead. at Unknown#0","level":3,"time":"2016-10-08T10:27:35+00:00","method":"POST","url":"\/owncloud\/index.php\/heartbeat","user":"--"}
{"reqId":"V-jPicCoKesAACalxFgAAAIY","remoteAddr":"31.18.254.155","app":"PHP","message":"Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php:\/\/input stream instead. at Unknown#0","level":3,"time":"2016-10-08T10:50:50+00:00","method":"POST","url":"\/owncloud\/index.php\/heartbeat","user":"--"}
{"reqId":"V-jTDsCoKesAAG3MJWwAAADC","remoteAddr":"31.18.254.155","app":"PHP","message":"Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php:\/\/input stream instead. at Unknown#0","level":3,"time":"2016-10-08T11:05:53+00:00","method":"POST","url":"\/owncloud\/index.php\/heartbeat","user":"--"}
{"reqId":"V-jTH8CoKesAAFOWfmEAAAHy","remoteAddr":"31.18.254.155","app":"PHP","message":"mkdir(): No such file or directory at \/mnt\/webq\/b1\/20\/531620\/htdocs\/owncloud\/lib\/private\/Setup.php#288","level":3,"time":"2016-10-08T11:06:08+00:00","method":"POST","url":"\/owncloud\/index.php","user":"--"}

Server configuration
Operating system:
Web server:
Database: MySQL 5.5.52
PHP version: 5.6
ownCloud version (see ownCloud admin page): 9.1.1
Updated from an older ownCloud or fresh install: fresh install


#2

Was a config/config.php created? And a database?


#3

Hi,
thanks for caring about my problem.

config.php has been created:

<?php
$CONFIG = array (
  'instanceid' => 'occasmasf3hl',
);

I tried to install the "SQ-Lite"-Version. So I didn't enter anything into the fields for the database. I can't find anything that looks like a database on the server.

Greetings
Eicke


#4

The server configuration is looking like there would be a MySQL database server. Or how did you get the information above?

You can install mysql-server on the application server or on another server. Strato should have separate database servers for business customers and internal things as example...
If you would create another server for the database, that's better for the performance. Normally you create all on one server at such Hosting Providers, if you would install it for yourselves....


#5

Can you put an absolute path for the data directory? Looks like the script tries to install something into /owncloud/....
Absolute path seems to be /mnt/webq/b1/20/531620/htdocs/owncloud/data


#6

Hi,
thanks, the absolute path (it was www...) in combination with the mysql-Server did the trick.

Now it seems to be working, although I get an integrity error:

Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Results
=======
- core
	- INVALID_HASH
		- .htaccess
		- core/doc/admin/_sources/configuration_files/collaborative_documents_configuration.txt
		- core/doc/admin/_static/img/note_pencil.svg
		- core/doc/admin/_static/img/warning.svg
		- core/fonts/LICENSE.txt
		- core/vendor/jsTimezoneDetect/jstz.js
- files_external
	- INVALID_HASH
		- 3rdparty/Dropbox/API.php
- files_texteditor
	- INVALID_HASH
		- js/vendor/ace/src-noconflict/mode-diff.js
Raw output
==========
Array
(
    [core] => Array
        (
            [INVALID_HASH] => Array
                (
                    [.htaccess] => Array
                        (
                            [expected] => ab5f4c44ba2f9c66f2ed25c3ad3d84660b2808cca11ffa8fe2778a648a054d8ada495a0bf4715dc873aac1efe8dfd92a72f9a24441d8f5240834e639325fd892
                            [current] => 059c69cf512915cc7a327cf26517e401e7ca88269fb6f7c40134c2c7a4b49ea4b9314ed9e02d43b08f82919183436f1cf6b81361f9e3dee2f677f9cdfdf52482
                        )
                    [core/doc/admin/_sources/configuration_files/collaborative_documents_configuration.txt] => Array
                    (
                        [expected] => 251befed4a319c8e4b390b363a9bc8079b54991891204a4ff1cb551797931ba9f276903e1e5e8bde932afcb5e67d23f7939cea22e68c6bd7695e2b8ce654c5b3
                        [current] => 637ac6c02e3ef06cc19a9b465c5c0e6ae6777f9e5d5d52cae28482f350e3b348a5c3ba67ae693e95971373c326af98c27c7f04492aa836b6ab1348f7341ccb29
                    )

                [core/doc/admin/_static/img/note_pencil.svg] => Array
                    (
                        [expected] => 78b9df57afe9468145e6e375cd1f61274b269b9c3019726a99e043ae952367acf53cf471cbc5b3dcca2e68367c2c4422d4a9f9a9fdbb11f9b962845ac77857de
                        [current] => 97117ce2827cc1b742678b52fc100de1e7d3fdb1adeea04a301c012e7f95b66e10a369c6a83ba89a707c4232b5e31fba3d5e58b0e0d970f22031d0704eebb5a9
                    )

                [core/doc/admin/_static/img/warning.svg] => Array
                    (
                        [expected] => e8647b47ef1531b8c2fcdd51f76996fe85476467fc694540f3dcf8ce7e7da489e99edae5a158742da71c07dc09ccfaf721f01c1c4bda3f5bae9b711981b71a1b
                        [current] => 85687f19cf204716e9b1c608682aa22c045b6f8284a3496db07f13200952491bfea54deee7ef11115c0dedfd87443c7022ef05792892a8a984866752c8ec5726
                    )

                [core/fonts/LICENSE.txt] => Array
                    (
                        [expected] => 4cc5a12bfe984c0a50bf7943e2d70a948d520ef423677c77629707aace3a95aa378d205de929105d644680679e70ef2449479b360ad44896b75bafed66613272
                        [current] => 98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8
                    )

                [core/vendor/jsTimezoneDetect/jstz.js] => Array
                    (
                        [expected] => ece74dd6f5fc9587cf167dd17df51b66f70bd711f445da8d1d21bb1b0570f3c97b25d3ece110b08e2f2b294369d9b775cc169b666840a5b769ba338aa6d73d48
                        [current] => beae737d18aae6e8c5fdfb0bf3389b687ec746e6b334185710cc5b8f45b73b3c57442db541807ab440b55517ef2d138f4c40148abafcb6462481016b617e1f53
                    )

            )

    )

[files_external] => Array
    (
        [INVALID_HASH] => Array
            (
                [3rdparty/Dropbox/API.php] => Array
                    (
                        [expected] => a6866ef3ceeb26d9d4b2ccc343aeaf626c82f03e279962bc7d761a68e87e5a7916ff0bcf7a350e20889557336ed9c5dd1651cfe513fa04bb8a03cd6d8f9cc484
                        [current] => 917eed2c4f6359a4d0b8658a36404c83344b0bf72ccda614dd59f97d099b3d9ef4e86691401c64d3754c3f7e0fa163eab946a25dbc7bc65e1694ffd47a054317
                    )

            )

    )

[files_texteditor] => Array
    (
        [INVALID_HASH] => Array
            (
                [js/vendor/ace/src-noconflict/mode-diff.js] => Array
                    (
                        [expected] => 4a59b6376376b81e4e12ccc345065db62029a61035a88e19b1be3d7ec4cd9f86444121cca6d46c44a5f86e4f5b44d5109cbc77e80c07ff8dbce61f758b88e765
                        [current] => 0a426bda5fe72cd7d8ec6c6140b95b337c8da7de479fbcccd6ddeb8c23dbae3598b35021771b7dd117d09f8c258374189656a5612efc8136f78b755dfc2809ea
                    )

            )

    )
)

The only file I touched has been the ".htaccess" to solve the "The "X-XSS-Protection" HTTP header is not configured to equal..."-issue.
Will these errors be a problem?
Should i really replace the mentioned files?

Greetings
Eicke


#7

Please create a new thread for this new issue after you had a look at the documentation at http://doc.owncloud.org


#8