php bin/magento cron:run
php update/cron.php
php bin/magento setup:cron:run
A blog which contains my hands on experiences in the web.I 've posted all my learning and experience to share with all developers.
"require": {
"php": ">=7.0.0",
"fideloper/proxy": "~3.3",
"laravel/framework": "5.5.*",
"laravel/tinker": "~1.0"
},
To:"require": {
"php": ">=7.1.3",
"fideloper/proxy": "~4.0",
"laravel/framework": "5.6.*",
"laravel/tinker": "~1.0"
},
2. Replace app\Http\Middleware\TrustedProxies.php file with contents below:php
namespace App\Http\Middleware;
use Illuminate\Http\Request;
use Fideloper\Proxy\TrustProxies as Middleware;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array
*/
protected $proxies;
/**
* The headers that should be used to detect proxies.
*
* @var string
*/
protected $headers = Request::HEADER_X_FORWARDED_ALL;
}
3. composer update[ec2-user ~]$
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 8.0G 943M 6.9G 12% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/xvdf 1014M 33M 982M 4% /mnt
sudo growpart /dev/xvda 1
sudo growpart /dev/xvdf 1
CHANGED: disk=/dev/xvdf partition=1: start=4096 old: size=16773086,end=16777182
new: size=73396190,end=73400286
You can see old size has been modified to the new size.
8)
Use a file system-specific command to resize each file system to the new volume[ec2-user ~]$
sudo resize2fs /dev/xvda1
resize2fs 1.42.3 (14-May-2012)
old_desc_blocks = 1, new_desc_blocks = 3
#
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 70G 951M 69G 2% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/xvdf 100G 45M 100G 1% /mnt