# Need help by installation

**URL:** <https://help.nextcloud.com/t/need-help-by-installation/7192>\
**Category:** ℹ️ Support\
**Created:** [January 6, 2017, 11:21am UTC](https://help.nextcloud.com/t/need-help-by-installation/7192 "2017-01-06T11:21:17Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Linus](https://help.nextcloud.com/letter_avatar/linus/32/5_5575768a8748004e209b776fc1b2916d.png) [@Linus](https://help.nextcloud.com/u/Linus)\
**Post date:** [January 6, 2017, 11:21am UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/1 "2017-01-06T11:21:18Z")

</div>

Hi, I have a problem. I bought me an full installed Cubietruck but after starting the Apache, I wan't to use the nc. I put every thing in the right order but the index.html and the index.php booth without any data for an overlay.

So my question is, what can I do to get my nextcloud run?

I use Debian, if this is important

Falls hier jemand deutsch spricht und mir so antworten kann gerne auch :)

---

<div class="post-metadata">

**Author:** ![ham](https://help.nextcloud.com/letter_avatar/ham/32/5_5575768a8748004e209b776fc1b2916d.png) [@ham](https://help.nextcloud.com/u/ham)\
**Post date:** [January 6, 2017, 12:28pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/3 "2017-01-06T12:28:29Z")

</div>

Hi / Hallo

In my Case: the index.html reload the index.php and the index.php isn’t empty

In meinem Fall: Die index.html ruft die index.php datei auf. Und die index.php ist nicht leer.

> [@index.php](#):
>
> \<?php /\*\* \* @copyright Copyright (c) 2016, ownCloud, Inc. \* \* @license AGPL-3.0 \* \* This code is free software: you can redistribute it and/or modify \* it under the terms of the GNU Affero General Public License, version 3, \* as published by the Free Software Foundation. \* \* This program is distributed in the hope that it will be useful, \* but WITHOUT ANY WARRANTY; without even the implied warranty of \* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \* GNU Affero General Public License for more details. \* \* You should have received a copy of the GNU Affero General Public License, version 3, \* along with this program. If not, see \* \*/ // Show warning if a PHP version below 5.6.0 is used, this has to happen here // because base.php will already use 5.6 syntax. if (version\_compare(PHP\_VERSION, '5.6.0') === -1) { echo 'This version of Nextcloud requires at least PHP 5.6.0  
> '; echo 'You are currently running ' . PHP\_VERSION . '. Please update your PHP version.'; return; } try { require\_once \_\_DIR\_\_ . '/lib/base.php'; OC::handleRequest(); } catch(\OC\ServiceUnavailableException $ex) { \OC::$server-\>getLogger()-\>logException($ex, array('app' =\> 'index')); //show the user a detailed error page OC\_Response::setStatus(OC\_Response::STATUS\_SERVICE\_UNAVAILABLE); OC\_Template::printExceptionErrorPage($ex); } catch (\OC\HintException $ex) { OC\_Response::setStatus(OC\_Response::STATUS\_SERVICE\_UNAVAILABLE); OC\_Template::printErrorPage($ex-\>getMessage(), $ex-\>getHint()); } catch (\OC\User\LoginException $ex) { OC\_Response::setStatus(OC\_Response::STATUS\_FORBIDDEN); OC\_Template::printErrorPage($ex-\>getMessage(), $ex-\>getMessage()); } catch (Exception $ex) { \OC::$server-\>getLogger()-\>logException($ex, array('app' =\> 'index')); //show the user a detailed error page OC\_Response::setStatus(OC\_Response::STATUS\_INTERNAL\_SERVER\_ERROR); OC\_Template::printExceptionErrorPage($ex); } catch (Error $ex) { \OC::$server-\>getLogger()-\>logException($ex, array('app' =\> 'index')); OC\_Response::setStatus(OC\_Response::STATUS\_INTERNAL\_SERVER\_ERROR); OC\_Template::printExceptionErrorPage($ex); }

---

<div class="post-metadata">

**Author:** ![Linus](https://help.nextcloud.com/letter_avatar/linus/32/5_5575768a8748004e209b776fc1b2916d.png) [@Linus](https://help.nextcloud.com/u/Linus)\
**Post date:** [January 6, 2017, 12:39pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/4 "2017-01-06T12:39:21Z")

</div>

Thanks/Danke

so my index.html also linked to the index.php but there is only the php code and I don’t know why.

Also meine Index.html verlinkt auch auf die index.php jedoch steht da nur reiner php Code kein Html bzw style und wenn ich die Website anspreche dann komme ich auch auf die index.php jedoch war es das dann auch schon ich bekomme dann eine komplett weiße Website ausgegeben und ich habe leider keine Ahnung wie ich da mir da Abhilfe schaffen könnte 😕

---

<div class="post-metadata">

**Author:** ![JasonBayton](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jasonbayton/32/297_2.png) [@JasonBayton](https://help.nextcloud.com/u/JasonBayton)\
**Post date:** [January 6, 2017, 12:42pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/5 "2017-01-06T12:42:41Z")

</div>

If you’re only seeing PHP code, can you verify you’ve enabled the PHP module and restarted the webserver?

---

<div class="post-metadata">

**Author:** ![ham](https://help.nextcloud.com/letter_avatar/ham/32/5_5575768a8748004e209b776fc1b2916d.png) [@ham](https://help.nextcloud.com/u/ham)\
**Post date:** [January 6, 2017, 1:25pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/6 "2017-01-06T13:25:14Z")

</div>

Hi

Please try to add a file named like error1234.php into the root folder of your nextcloud installation.  
input the followed string and call it with [http://yourdomain.com/error1234.php](http://yourdomain.com/error1234.php)  
if the output still blank, then maybe you have some server problems.

Bitte, erstelle eine Datei in deinem Hauptordner (wo nextcloud läuft). Du kannst den namen frei wählen. Vielleicht error1234.php  
Nun füge folgendes ein und rufe die datei mit [http://deinedomain.com/error1234.php](http://deinedomain.com/error1234.php) auf.  
Wenn die anzeige immer noch weiss ist, prüfe bitte deine Server einstellung.

> [@error1234.php](#):
>
> \<?php echo "Display Errors Title - from PHP TAG:"; // ---------------------------------------------------------------------------------------------------- // - Display Errors // ---------------------------------------------------------------------------------------------------- ini\_set('display\_errors', 'On'); ini\_set('html\_errors', 0); // ---------------------------------------------------------------------------------------------------- // - Error Reporting // ---------------------------------------------------------------------------------------------------- error\_reporting(-1); // ---------------------------------------------------------------------------------------------------- // - Shutdown Handler // ---------------------------------------------------------------------------------------------------- function ShutdownHandler() { if(@is\_array($error = @error\_get\_last())) { return(@call\_user\_func\_array('ErrorHandler', $error)); }; return(TRUE); }; register\_shutdown\_function('ShutdownHandler'); // ---------------------------------------------------------------------------------------------------- // - Error Handler // ---------------------------------------------------------------------------------------------------- function ErrorHandler($type, $message, $file, $line) { $\_ERRORS = Array( 0x0001 =\> 'E\_ERROR', 0x0002 =\> 'E\_WARNING', 0x0004 =\> 'E\_PARSE', 0x0008 =\> 'E\_NOTICE', 0x0010 =\> 'E\_CORE\_ERROR', 0x0020 =\> 'E\_CORE\_WARNING', 0x0040 =\> 'E\_COMPILE\_ERROR', 0x0080 =\> 'E\_COMPILE\_WARNING', 0x0100 =\> 'E\_USER\_ERROR', 0x0200 =\> 'E\_USER\_WARNING', 0x0400 =\> 'E\_USER\_NOTICE', 0x0800 =\> 'E\_STRICT', 0x1000 =\> 'E\_RECOVERABLE\_ERROR', 0x2000 =\> 'E\_DEPRECATED', 0x4000 =\> 'E\_USER\_DEPRECATED' ); if(!@is\_string($name = @array\_search($type, @array\_flip($\_ERRORS)))) { $name = 'E\_UNKNOWN'; }; return(print(@sprintf("%s Error in file \xBB%s\xAB at line %d: %s\n", $name, @basename($file), $line, $message))); }; $old\_error\_handler = set\_error\_handler("ErrorHandler"); // other php code ?\>

Source: [debugging - How can I get useful error messages in PHP? - Stack Overflow](http://stackoverflow.com/questions/1475297/phps-white-screen-of-death)

---

<div class="post-metadata">

**Author:** ![Linus](https://help.nextcloud.com/letter_avatar/linus/32/5_5575768a8748004e209b776fc1b2916d.png) [@Linus](https://help.nextcloud.com/u/Linus)\
**Post date:** [January 6, 2017, 2:17pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/7 "2017-01-06T14:17:50Z")

</div>

Danke,  
ja mein Bildschirm bleibt weiss, an welchen Einstellungen kann es denn liegen?

Thanks,  
yes my overlay stays at white color, which settings could be it?

---

<div class="post-metadata">

**Author:** ![JasonBayton](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jasonbayton/32/297_2.png) [@JasonBayton](https://help.nextcloud.com/u/JasonBayton)\
**Post date:** [January 6, 2017, 2:59pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/8 "2017-01-06T14:59:13Z")

</div>

What does your webserver error log show?

Apache/nginx, whatever you use?

---

<div class="post-metadata">

**Author:** ![ham](https://help.nextcloud.com/letter_avatar/ham/32/5_5575768a8748004e209b776fc1b2916d.png) [@ham](https://help.nextcloud.com/u/ham)\
**Post date:** [January 6, 2017, 3:11pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/9 "2017-01-06T15:11:45Z")

</div>

Hi

There no text like: “Display Errors Title - from PHP TAG”?

Du kannst versuche eine weitere Datei zu erstellen “phptest.php” mit inhalt:  
You can try to add an other file like phptest.php with content:

\<?php echo phpinfo(); ?\>

Ruf sie auf mit: [yourdomain.com](http://yourdomain.com/phptest.php)  
call it with [yourdomain.com](http://yourdomain.com/phptest.php)

Es sollte eine Seite mit folgendem Logo ersteinen:  
It should show you some logo:  
 ![](https://help.nextcloud.com/uploads/default/original/2X/0/033b17ea5f9255973b3c3bbb07105dc5639d03f2.png)

Verwendest du Apache oder nginx?  
Do you use apache or nginx?

---

<div class="post-metadata">

**Author:** ![Linus](https://help.nextcloud.com/letter_avatar/linus/32/5_5575768a8748004e209b776fc1b2916d.png) [@Linus](https://help.nextcloud.com/u/Linus)\
**Post date:** [January 6, 2017, 3:12pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/10 "2017-01-06T15:12:00Z")

</div>

I use Apache but where can I see where the logs are(can’t find a document for it)

Ich benutze Apache aber weiß wirklich nicht mehr weiter 😕

---

<div class="post-metadata">

**Author:** ![Linus](https://help.nextcloud.com/letter_avatar/linus/32/5_5575768a8748004e209b776fc1b2916d.png) [@Linus](https://help.nextcloud.com/u/Linus)\
**Post date:** [January 6, 2017, 3:16pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/11 "2017-01-06T15:16:37Z")

</div>

Wenn ich die Funktion aufrufe gibt er mir die ganzen Informationen zum server, kann mir das weiterhelfen?

If I join the function then he gives me the information from the server, can this may help me?

---

<div class="post-metadata">

**Author:** ![ham](https://help.nextcloud.com/letter_avatar/ham/32/5_5575768a8748004e209b776fc1b2916d.png) [@ham](https://help.nextcloud.com/u/ham)\
**Post date:** [January 6, 2017, 3:46pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/12 "2017-01-06T15:46:23Z")

</div>

Premission of files? pls check with: **ls -ll** and compare with your added files (phptest.php / error1234.php).

Was sind deine Datei/Ordner berechtigungen? bitte prüfe diese mal mit **ls -ll** und vergleiche sie mit den erstellten (phptest.php / error1234.php).

Apache log:  
tail -f /var/log/apache2/error.log -\> to leave ctrl + c  
or  
cat /var/log/apache2/error.log

PHP error handling check:  
php --info | grep error

Can you pls give us the output here?  
Kannst du uns bitte die ausgaben hier mal zeigen?

additional:  
Nextcloud log: tail -f /your/directory/nextcloud/data/nextcloud.log -\> But only for nextcloud self

---

<div class="post-metadata">

**Author:** ![Linus](https://help.nextcloud.com/letter_avatar/linus/32/5_5575768a8748004e209b776fc1b2916d.png) [@Linus](https://help.nextcloud.com/u/Linus)\
**Post date:** [January 6, 2017, 4:02pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/13 "2017-01-06T16:02:43Z")

</div>

on the graphical overlay i work with an normal user, so i have no writing permissions, on the commandline i work as root so i have all permissions

Auf der Graphischen Oberfläche arbeite ich mit einem normalen Benutzer mit leserechten auf der Komandoebende als root mit natürlich allen rechten

How can I show you the output  
Wie kann ich den Output kopieren?

Sorry, but i dont have to do with these things before

Sorry ich bin echt neu auf dem Gebiet 😕

---

<div class="post-metadata">

**Author:** ![ham](https://help.nextcloud.com/letter_avatar/ham/32/5_5575768a8748004e209b776fc1b2916d.png) [@ham](https://help.nextcloud.com/u/ham)\
**Post date:** [January 6, 2017, 4:34pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/14 "2017-01-06T16:34:17Z")

</div>

Please try (on your server with GUI):

- Open two terminal windows (as root) and a browser (eg. firefox)
- first terminal: **tail -f /var/log/apache2/error.log**
- second terminal: sudo **systemctl restart apache2.service** -\> or service apache2 restart
- now go with the browse to your page

-\> in the first terminal you will find some errors -\> copie that (ctrl + c) -\> go to [help.nextcloud.com](http://help.nextcloud.com) -\> and past your result.

Bitte versuche folgendes (auf dienem Server mit Grafischer Oberfläche):

- öffne zwei terminal fenster (als root) und einen browser (bsp. firefox)
- gib bitte im ersten terminal fenster folgendes ein: **tail -f /var/log/apache2/error.log**
- im zweiten: sudo **systemctl restart apache2.service** -\> or service apache2 restart
- öffnen dein seite und überprüfe das erste terminal fenster

-\> kopiere diese bitte (ctrl + c) -\> gehe zu [demo.nextcloud.com](http://demo.nextcloud.com) -\> und füge diese nun hier ein

Maybe we find something. Wich PHP-Version do you have?  
Vielleicht finden wir ja was.  
Welche PHP Version gab phptest.php aus?

---

<div class="post-metadata">

**Author:** ![Linus](https://help.nextcloud.com/letter_avatar/linus/32/5_5575768a8748004e209b776fc1b2916d.png) [@Linus](https://help.nextcloud.com/u/Linus)\
**Post date:** [January 6, 2017, 5:27pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/15 "2017-01-06T17:27:04Z")

</div>

Danke an alle am Ende lag es an einem sau dummen Tippfehler, tut mir leid.

Thanks to everybody for his help, at the end it was an very stupid fail of myself, i’m sorry.

---

<div class="post-metadata">

**Author:** ![Dennis](https://help.nextcloud.com/letter_avatar/dennis/32/5_5575768a8748004e209b776fc1b2916d.png) [@Dennis](https://help.nextcloud.com/u/Dennis)\
**Post date:** [August 24, 2017, 8:48pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/16 "2017-08-24T20:48:31Z")

</div>

Hallo, was war der Tippfehler?  
Denn ich hab gleiches Problem… :-/

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [September 23, 2024, 6:13pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/17 "2024-09-23T18:13:11Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 1:11pm UTC](https://help.nextcloud.com/t/need-help-by-installation/7192/18 "2024-12-09T13:11:52Z")

</div>


