xibo installer returns to start

Asked by Jos Coeckelbergs

Dear,

When I go to my localhost/xibo-server it goes to localhost/xibo-server/install.php (which is ofcourse correct). I run through the installer, when I reach "Create new" - or - "Use existing" DB I pick existing, fill in the credentials etc. but after doing that he just returns to the startscreen saying: "Welcome to the xibo installer! The installer will....".

I'm doing this on a cloud server we rent, can this be a problem? Or is there anything else wrong?

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Alex Harrington (alexharrington) said :
#1

Sounds like your webserver doesn't actually have permission to delete
install.php and upgrade.php at the end of the installation process.

Assuming the install completes and settings.php is written, then you can
just delete those two files, otherwise you need to sort out the filesystem
permissions such that install.php, upgrade.php can be deleted and
settings.php created by the user the webserver runs as.

Revision history for this message
Jos Coeckelbergs (jos-coeckelbergs) said :
#2

Alex,

So what should I do know? Change the permissions or just manually delete the 2 files? I'm an intern so I don't have a lot of experience with xibo or ubuntu servers.

Revision history for this message
Alex Harrington (alexharrington) said :
#3

I already told you exactly what you need to do.

Please re-read what I wrote and then you'll know :)

The main thing is "Did the install complete"? ie did it tell you it
completed? If it did, then delete the files. If it didn't then the
permissions are possibly wrong.

Alex

Revision history for this message
Jos Coeckelbergs (jos-coeckelbergs) said :
#4

it doesn't show the installer, so it also doesn't say installer finished, but thanks for the help, now i know where the problem is and i can search for the solution ;-)

Revision history for this message
Jos Coeckelbergs (jos-coeckelbergs) said :
#5

Thanks Alex Harrington, that solved my question.

Revision history for this message
Alex Harrington (alexharrington) said :
#6

You said you are running the installer:

Revision history for this message
Alex Harrington (alexharrington) said :
#7

You said you are running the installer:

"I run through the installer, when I reach "Create new" - or - "Use
existing" DB I pick existing,"

Did that complete?!

--
Alex Harrington
Spring Signage Ltd | http://springsignage.com
Proud founders and sponsors of the Xibo Project | http://xibo.org.uk
Registered Company #7811749
Registered Office: Spring Signage Ltd, Kemp House, 152 City Road, London, EC1V
2NX

On 11 March 2014 09:42, Alex Harrington <email address hidden> wrote:

> You said you are running the installer:
>
>

Revision history for this message
Jos Coeckelbergs (jos-coeckelbergs) said :
#8

well i don't reach the page where you really see the installer, i get to the page where you create a new DB, then it jumps back to the start

Revision history for this message
Alex Harrington (alexharrington) said :
#9

That _is_ the installer! Where it's asking you questions etc

So I would guess that it's getting part way through and erroring somehow. I'm really not sure why that should be though.

Revision history for this message
Jos Coeckelbergs (jos-coeckelbergs) said :
#10

Ok no problem, i'll keep searching ;-) can that be because of permissions or would that be another error?

Revision history for this message
Alex Harrington (alexharrington) said :
#11

It's probably not filesystem permissions, but without any kind of error message I've got nothing to go on as to what the actual problem is.

Revision history for this message
Jos Coeckelbergs (jos-coeckelbergs) said :
#12

Yeah, and the problem is that I don't get any errors. It just goes back to the start...

Maybe if I do it on a real machine instead of a virtual server? And there's always the possibility to try it on a windows server :-s

Revision history for this message
Alex Harrington (alexharrington) said :
#13

Try checking the server Apache error logs.

Also enable displaying errors to the browser (although I don't see why you
wouldn't just get a blank page if you were getting a hidden error)

Edit install.php and change lines 28 and 29 to be 1 instead of 0:
http://bazaar.launchpad.net/~xibo-maintainers/xibo/ponswinnecke/view/head:/server/install.php#L28

Alex

Revision history for this message
Jos Coeckelbergs (jos-coeckelbergs) said :
#14

I turned on the error display but still not seeing any errors, I looked up the error log and this is the last error I get:

PHP Warning: Unknown: POST Content-Length of 142 bytes exceeds the limit of 30 bytes in Unknown on line 0, referer: http://159.253.5.35/xibo-server/install.php

This error is there a few times.

Revision history for this message
Best Alex Harrington (alexharrington) said :
#15

Sounds like you have some strange limits on the maximum size of post
requests. What have you got post_max_size set to in your php.ini file?

Revision history for this message
Jos Coeckelbergs (jos-coeckelbergs) said :
#16

Thanks Alex Harrington, that solved my question.

Revision history for this message
Jos Coeckelbergs (jos-coeckelbergs) said :
#17

Indeed, when I read the command I knew I had to up the amount. Now it's really installing ;-)