Jump to content

Installation "File not found"


User123

Recommended Posts

I don't know what I do wrong...

 

I have a Linux Ubuntu Server with Plesk. I've added the the Domain in Plesk and I can upload files into "/var/www/vhosts/domain.com/httpdocs".

I want to have a front page and phpvms on the url: "domain.com/crew".

 

So I created in "/var/www/vhosts/domain.com/httpdocs" the folder "crew".

 

In this folder I extracted phpvms 7 beta 4. I installed it a little bit different than in the manual because it was the only way to get it work. 

1. I created the folder "phpvms".

2. In "/var/www/vhosts/domain.com/httpdocs/crew/phpvms" I downloaded the file and extracted it.

 

On "https://domain.com/crew/phpvms/public/" I got the error: "/var/www/vhosts/domain.com/httpdocs/crew/phpvms/storage/logs/laravel-2021-04-02.log" could not be opened: failed to open stream: Permission denied.

I fixed that by sudo chmod 777 logs.

Thereafter I got "file_put_contents(/var/www/vhosts/domain.com/httpdocs/crew/phpvms/storage/framework/views/[...].php): failed to open stream: Permission denied".

I fixed that too by sudo chmod 777.

 

Then I saw this screen ("https://domain.com/crew/phpvms/public/"):

image.thumb.png.dda42cfe504df04c780641b5242b2fc8.png

 

If I click now on "Head on to the installer" I come to "https://domain.com/crew/phpvms/public/install". There is a site with the text "File not found.". 

 

I'm a beginner in that and the vhost files are very strange and complicated to change in Plesk and I don't know if that's the problem.

 

Any idea?

Link to comment
Share on other sites

Pro Avia is quite correct we have all tried the beta 4 version over last few months but I think you will find it is as much as a year out of date and no one could install it successfully.  The advice from Nabeel and all of us is to get the latest dev version from the discord server.

 

regards

 

Doug

Link to comment
Share on other sites

Yes but in the new dev version I get this wonderful message:

 

image.png.0207817c5675c8cca874dad240e66862.png

With this error message:

 

 

AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to a member function connection() on null in /var/www/vhosts/domain.com/phpvms/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1493
Stack trace:
#0 /var/www/vhosts/domain.com/phpvms/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1459): Illuminate\\Database\\Eloquent\\Model::resolveConnection(NULL)
#1 /var/www/vhosts/domain.com/phpvms/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1266): Illuminate\\Database\\Eloquent\\Model->getConnection()
#2 /var/www/vhosts/domain.com/phpvms/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1183): Illuminate\\Database\\Eloquent\\Model->newBaseQueryBuilder()
#3 /var/www/vhosts/domain.com/phpvms/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1219): Illuminate\\Database\\Eloquent\\Model->newModelQuery()
#4 /var/www/vhosts/domain.com/phpvms/vendor/laravel/framework/src...PHP message: PHP Fatal error:  Uncaught Error: Call to a member function connection() on null in /var/www/vhosts/domain.com/phpvms/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1493
Stack trace:
#0 /var/www/vhosts/domain.com/phpvms/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1459): Illuminate\\Database\\Eloquent\\Model::resolveConnection(NULL)
#1 /var/www/vhosts/domain.com/phpvms/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1266): Illuminate\\Database\\Eloquent\\Model->getConnection()
#2 /var/www/vhosts/domain.com/phpvms/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1183): Illuminate\\Database\\Eloquent\\Model->newBaseQueryBuilder()
#3 /var/www/vhosts/domain.com/phpvms/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1219): Illuminate\\Database\\Eloquent\\Model->newModelQuery()
#4 /var/www/vhosts/domain.com/phpvms/vendor/laravel/framework/src...'

 

 

 

Link to comment
Share on other sites

Not sure what has happened for you, I had never installed anything like this in my life until November.  The beta 4 failed for me, Nabeel send me the latest dev and it went straight in as I followed the instructions.

 

I am not skilled enough to help you so sorry.  I hope someone can help you get through this bit.

 

Regards

 

Doug

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...