Update AppMail from the command line
If your database is too large, you might want to update your AppMail application from command line rather than the web interface.
In order to do this, follow the upgrade steps but once you reach the update screen, do not press the Submit button in that screen to start the update process from the web interface, instead, read the first paragraph of the page carefully.
That paragraph will give you proper instructions as what command to run from command line to start the update.
The command you have to run looks like:
/usr/bin/php -q /var/www/html/apps/console/console.php update
In your case, most likely instead of /var/www/html/ you’ll have some other path.
Related Articles
Clear cache command
The way AppMail works in most cases where performance is important, is that it fetches the data from the database once, then it will store it in cache and serve it from there for as much as possible. This allows AppMail to perform fast because data ...
Debug send-campaigns command
Starting with version 1.3.5, the cron job command that sends campaigns (send-campaigns) has been modified so that it will help debugging sending speed. In order to make use of this functionality, you should have ssh access to your server so that you ...
Update failure - Missing database table or columns
You can get an error like: The table '{{table_name}}' for active record class 'ModelName' cannot be found in the database. Which means a database table is missing from your app, or you can get an error where the app complaints about a missing ...
How do I enable command line import for subscribers?
Importing large CSV files from the web interface, like shown in this article, can be problematic sometimes. This is why we offer an alternative. We offer a way to upload your CSV file which will be queued and then processed by a command line command. ...
AppMail and GDPR
GDPR has been in effect starting 25th of May 2018. We don’t provide legal advice; you should consult your legal advisor regarding the way you conduct your business and what you should do to comply with GDPR. GDPR has a few main principles, below we ...