1 |
Hi, |
2 |
|
3 |
wrong permissions usually caused 500 errors for me, but I'm using nginx+php-fpm. I don't changing php's time limit would change something about your situation (especially considering that the first time setup always loaded pretty much instantly for me, even on a raspberry pi 2), unless you import massive amounts of new data (but I don't think you'd import that much (if any) data on your first setup ;) |
4 |
|
5 |
Regards, |
6 |
Rasmus |
7 |
|
8 |
-------- Original Message -------- |
9 |
On 5 May 2017, 16:37, John Covici wrote: |
10 |
|
11 |
On Fri, 05 May 2017 10:25:21 -0400, |
12 |
Rasmus Thomsen wrote: |
13 |
> |
14 |
> [1 <text/plain; UTF-8 (base64)>] |
15 |
> [2 <text/html; UTF-8 (base64)>] |
16 |
> Hi, |
17 |
> |
18 |
> Nextcloud/Owncloud both provide a script to set the correct permissions: |
19 |
> |
20 |
> https://docs.nextcloud.com/server/9/admin_manual/installation/installation_wizard.html#strong-perms-label |
21 |
> |
22 |
> Just set the correct user (most likely apache)/path |
23 |
> |
24 |
> Regards, |
25 |
> Rasmus |
26 |
> |
27 |
> -------- Original Message -------- |
28 |
> On 5 May 2017, 16:16, Mick < michaelkintzios@×××××.com> wrote: |
29 |
> |
30 |
> On Friday 05 May 2017 08:31:56 John Covici wrote: |
31 |
> > On Fri, 05 May 2017 07:24:02 -0400, |
32 |
> > |
33 |
> > Michael Orlitzky wrote: |
34 |
> > > On 05/05/2017 07:13 AM, John Covici wrote: |
35 |
> > > > The php log is not mentioned in the .htaccess file of owncloud. But |
36 |
> > > > regardless of owncloud, php fatal errors are not logged anywhere under |
37 |
> > > > apache, even though I have log_errors and a log file name. |
38 |
> > > |
39 |
> > > Apache doesn't know anything about what happens in the PHP code, so the |
40 |
> > > errors should be logged in that separate PHP error log, if anywhere. |
41 |
> > > |
42 |
> > > As a temporary measure, you can try enabling "display_errors" and |
43 |
> > > "display_startup_errors" in your (Apache) php.ini. That should convince |
44 |
> > > PHP to spit out the error into your browser when you visit the page, |
45 |
> > > rather than (or in addition to) logging it. |
46 |
> > |
47 |
> > If I put those on, I don't even get the 500, I get nothing at all |
48 |
> > instead! Very odd, indeed. I just get a blank window when I use my |
49 |
> > php fatal error creator. |
50 |
> > But if I change it to http, I get the fatal error. |
51 |
> > |
52 |
> > |
53 |
> > For owncloud, changing to http yields the same result. However, when |
54 |
> > I finally changed the display_startup_errors to On, I get the |
55 |
> > following fatal error: |
56 |
> > [05-May-2017 11:44:21 UTC] PHP Fatal error: Maximum execution time of |
57 |
> > 30 seconds exceeded in |
58 |
> > /var/www/covici.com/htdocs-secure/owncloud/lib/base.php on line 542 |
59 |
> > [05-May-2017 11:44:21 UTC] PHP Stack trace: |
60 |
> > [05-May-2017 11:44:21 UTC] PHP 1. {main}() |
61 |
> > /var/www/covici.com/htdocs-secure/owncloud/index.php:0 |
62 |
> > [05-May-2017 11:44:21 UTC] PHP 2. require_once() |
63 |
> > /var/www/covici.com/htdocs-secure/owncloud/index.php:37 |
64 |
> > [05-May-2017 11:44:21 UTC] PHP 3. OC::init() |
65 |
> > /var/www/covici.com/htdocs-secure/owncloud/lib/base.php:967 |
66 |
> > [05-May-2017 11:44:21 UTC] PHP 4. set_time_limit() |
67 |
> > /var/www/covici.com/htdocs-secure/owncloud/lib/base.php:542 |
68 |
> > |
69 |
> > |
70 |
> > Any insights would be appreciated. |
71 |
> |
72 |
> Have you looked at the lines mentioned above in base.php and index.php? |
73 |
> |
74 |
> It may be an issue of correct owneship/access rights and the lines in those |
75 |
> files may give you a hint. Some files may need to be owned by the owncloud |
76 |
> user or the webserver user accounts. |
77 |
> -- |
78 |
> Regards, |
79 |
> Mick |
80 |
> |
81 |
|
82 |
I have the script mentioned above. I would think if the permissions |
83 |
were wrong, it would not get into the file at all. |
84 |
|
85 |
-- |
86 |
Your life is like a penny. You're going to lose it. The question is: |
87 |
How do |
88 |
you spend it? |
89 |
|
90 |
John Covici |
91 |
covici@××××××××××.com |