ovflowd / chocolatey

:chocolate_bar: The open source Habbo.com Engine & CMS
GNU General Public License v3.0
50 stars 19 forks source link

Installation error #377

Closed cxdy closed 6 years ago

cxdy commented 6 years ago

Hi.

Running PHP 7.1, MySQL 5.7 on Ubuntu 16.04. Web server is Apache. All of my config files are configured, I ran composer install just fine after I installed the things I needed.

When I run php migrate artisan, I received the following error: root@luxohotel:/var/www/html# php artisan migrate Failed to load Lumen Core. You doesn't have installed the Composer Dependencies

To fix that, I created the .env file myself since it was missing from the 3.0.0.0P release package.

Now that it's configured, I tried running php migrate artisan again and now I receive this error this error:

screenshot 2018-01-05 00 49 34

Any ideas?

cxdy commented 6 years ago
screenshot 2018-01-05 00 56 27

Contents of the .env file, just to show that it's not a syntax error in there.

cxdy commented 6 years ago

Ended up cloning the repository at it's current state, now I'm here.

screenshot 2018-01-05 01 09 31
cxdy commented 6 years ago

Alright, got php artisan migrate to work by running apt-get install php7-mysql.

Now I'm receiving a 500 error on the site, assuming it's due to the web.config file, need .htaccess for Apache. I'll work on converting this and post back.

Edit: There is an .htaccess file, now I'm stumped. Anyone know what's up?

cxdy commented 6 years ago

Found the following error in my Apache error.log file:

[Fri Jan 05 01:26:31.651302 2018] [:error] [pid 16250] [client 127.0.0.1:80] PHP Fatal error: Uncaught UnexpectedValueException: The stream or file "/var/www/html/storage/logs/lumen.log" could not be opened: failed to open stream: Permission denied in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107\nStack trace:\n#0 /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Monolog\\Handler\\StreamHandler->write(Array)\n#1 /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php(337): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n#2 /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php(616): Monolog\\Logger->addRecord(400, Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException), Array)\n#3 /var/www/html/vendor/laravel/lumen-framework/src/Exceptions/Handler.php(45): Monolog\\Logger->error(Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException))\n#4 /var/www/html/app/Exceptions/Handler.php(41): Laravel\\Lumen\\Exceptions\\Handler->report(Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException))\n#5 /var/www/html/vend in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 107

ovflowd commented 6 years ago

You need to make something like chown -R apache:apache /path/to/chocolatey

On Fri, Jan 5, 2018, 04:34 Cody Kaczynski notifications@github.com wrote:

Found the following error in my Apache error.log file:

[Fri Jan 05 01:26:31.651302 2018] [:error] [pid 16250] [client 127.0.0.1:80] PHP Fatal error: Uncaught UnexpectedValueException: The stream or file "/var/www/html/storage/logs/lumen.log" could not be opened: failed to open stream: Permission denied in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107\nStack trace:\n#0 /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Monolog\Handler\StreamHandler->write(Array)\n#1 /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php(337): Monolog\Handler\AbstractProcessingHandler->handle(Array)\n#2 /var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php(616): Monolog\Logger->addRecord(400, Object(Symfony\Component\Debug\Exception\FatalErrorException), Array)\n#3 /var/www/html/vendor/laravel/lumen-framework/src/Exceptions/Handler.php(45): Monolog\Logger->error(Object(Symfony\Component\Debug\Exception\FatalErrorException))\n#4 /var/www/html/app/Exceptions/Handler.php(41): Laravel\Lumen\Exceptions\Handler->report(Object(Symfony\Component\Debug\Exception\FatalErrorException))\n#5 /var/www/html/vend in /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 107

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sant0ro/chocolatey/issues/377#issuecomment-355483192, or mute the thread https://github.com/notifications/unsubscribe-auth/ALeslcqWqosi_24qIO1U2SpukEUuiHv4ks5tHcKAgaJpZM4RUD5B .

--

Infrastructure Manager, Universal Internet of Things Phone: +55 (61) 99924-1696 | Web: Universal Internet of Things https://uiot.org/

TheOmanNorge commented 6 years ago

Still having troubles or have you fixed your problem? Please let us know. 👍 😃