Closed SugarD-x closed 4 years ago
Hm. Strange problem. Try to discover package:
php /path/to/gameap/artisan package:discover
Or try to execute composer update:
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
cd /path/to/gameap && composer update
Here are the results of the first command:
As for the other commands, Composer was already installed. It updated one package, (phpseclib from version 2.0.24 to 2.0.25), but nothing else was found.
It may be worth noting too that two abandoned packages were reported. (moontoast/math and zendframework/zend-diactoros, of which it recommended brick/math and laminas/laminas-diactoros replace them).
Edit: Apparently it is the Games List page itself triggering the error this time, and not the updater for the list. Simply navigating to the Games List page is causing the error to appear.
Edit 2: It was my fault. I had an extra }
after the fix for #31.
You can upgrade panel without manually editing files.
Execute:
curl -sLO http://packages.gameap.ru/installer.sh && bash installer.sh --upgrade
Or, using GitHub:
curl -sLO http://packages.gameap.ru/installer.sh && bash installer.sh --github --upgrade
Is there a Windows equivalent of these commands that you are aware of?
Sorry, no ready-made scripts. But you can execute few commands.
You should download composer.phar (once) to your gameap directory from here https://getcomposer.org/download/
Required packages: git
, composer
, php-cli
cd C:\path\to\gameap
git pull
php composer.phar update
php artisan migrate
Appreciate the information!
Unfortunately I can't get past the git pull line. It isn't recognizing the repository files as being a git repository. I tested a fresh download on my local system with these commands and they work, so maybe the installation of the panel caused the files to not be recognized? I'm not exactly sure what is going on there.
@SugarD-x Try once:
cd C:\path\to\gameap
git init
git remote add origin https://github.com/et-nik/gameap
git pull
git checkout -f develop
After that commands should be works fine.
That worked beautifully! Thank you!
After adding the bug fix for issue #31, I received the following error when navigating to the game list: