ukvirtual Posted Wednesday at 09:26 PM Report Posted Wednesday at 09:26 PM I've managed to hurdle plenty of obstacles to get the installation working, and just when I thought I'd succeeded, I get to the last page of the install process, fill in my superadmin details and hit next, only to be taken back to the "Installer Requirements" page??? If I then run through the process again, when I get to the User and Airline setup page, it wont accept the ICAO or user email as it exists, so I know the setup worked. How to I clear the flag to tell it that the install is complete? Quote
Strider Posted Friday at 05:42 PM Report Posted Friday at 05:42 PM Have you tried going to the site to see if the site actually got installed? Also what version are you trying to install? Quote
ukvirtual Posted yesterday at 07:55 PM Author Report Posted yesterday at 07:55 PM (edited) What do you mean? The installer is the site... If I navigate to my server address (http://myserver/index.php), it redirects to the installer page (http://myserver/index.php/system/install?step=requirements), as it should when you first run it. Problem is, I've completed the installer and it still loads that page. I'm guessing there's supposed to be a flag of some sort (database entry?) that tells the framework to load the index.php page instead of the installer once you've set it up (like I have).. I've installed the latest version 7.0.4, have PHP 8.4.8 installed. Edited yesterday at 08:17 PM by ukvirtual Quote
Administrators ProAvia Posted yesterday at 08:03 PM Administrators Report Posted yesterday at 08:03 PM Try with php 8.2 Do a fresh install - new database and downloaded zip file. Did you use install option 1 or 2 ? Let us know the outcome. Quote
ukvirtual Posted yesterday at 09:09 PM Author Report Posted yesterday at 09:09 PM (edited) I'll have a go with PHP 8.2... It's my own webserver so a direct upload.. Edited yesterday at 10:00 PM by ukvirtual Quote
ukvirtual Posted yesterday at 11:12 PM Author Report Posted yesterday at 11:12 PM (edited) Ok, I've uploaded the latest Dev version from https://phpvms.cdn.vmslabs.net/phpvms-latest-dev.zip I now get this when trying to setup the DB (dependancy page is all "ok"'s): Couldn't write .env file. (ErrorException: file_put_contents(/var/www/html/mysite/.env): Failed to open stream: Permission denied in /var/www/html/mysite/vendor/nwidart/laravel-modules/src/Support/Stub.php:135 Stack trace: #0 I've set all folders from /www/ to my admin user and chmod 775. Files are 664 for the most part. I had to set bootstrap and storage to 777 to get things to work so I'm not sure how safe that is but still I'm getting the above permission error? As a test, I set every folder and the Stub file in the path above to 777 and I still get the same perms error so I'm clearly missing something? Edited yesterday at 11:18 PM by ukvirtual Quote
PaintSplasher Posted 23 hours ago Report Posted 23 hours ago (edited) Do not use any dev version, take the current release: https://github.com/phpvms/phpvms/releases/tag/7.0.4 Are you using a self-home server setup? Edited 23 hours ago by PaintSplasher Quote
ukvirtual Posted 8 hours ago Author Report Posted 8 hours ago (edited) Right... cracked it after a little permission tweaking and lots of cache clearing to get the installation completed, but now I get a 500 error after authentication. I can navigate the public pages before logging in to the site but when I login, I get a document expired error, and then a refresh redirects me to dashboard but with the 500 error. I'm sure it's a permissions thing so it would be helpful to have a rundown of which folders need which permissions across the board. Not a home server no. I have rented rack space Edited 8 hours ago by ukvirtual Quote
ukvirtual Posted 6 hours ago Author Report Posted 6 hours ago Ok, realised I hadn't set the DB users up correctly and then deleted them for security, breaking things. I've got everything working now so I can crack on. I still get a document expired page after login but a refresh fixes it so it's either a cache issue (will try clearing browser now) or a cache permissions issue I need to locate and sort. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.