/var/www/html/
├── public/
│ ├── index.php (Main Logic)
│ └── cache/ (Publicly accessible storage)
├── templates/
│ ├── bl_structure.sql
│ └── downloads_structure.sql
├── assets/
│ └── Maker/ (Device Configuration Files)
├── logs/
└── cron/
└── cleanup.php
server directory to your web host.public folder.Permissions: Ensure the public/cache and logs directories are writable by the web server:
chmod -R 777 public/cache logs
Because you used the automated package_builder.sh, the following complex tasks have been completed for you:
downloads_structure.sql has been successfully reconstructed and placed in templates/.Maker folder has been automatically extracted from your backup and placed in assets/Maker/.You do not need to manually copy or rename any files.
Set up a cron job to run every minute to clean up old payload files:
* * * * * php /path/to/server/cron/cleanup.php