Ask, reply and learn. Join the community of Akaunting.
Hello guys, How to manually update my installation? Currently the version installed to my server is 2.1.8. when am trying to update, it;s always stop at 80%..
https://akaunting.com/forum/discussion/general/problem-in-updating-from-218-to-2114-2115
Hello Jhay, Are you on a self-hosted or cloud version?
If you have access to your terminal, please run the following command from the root folder of the project:
php artisan migrate:status
Then post the result.
Hi Leonardo, Yup self-hosted.
please see the result below
Ran? | Migration | Batch |
+------+-----------------------------------------------------------------+-------+
| Yes | 2017_09_01_000000_create_accounts_table | 1 |
| Yes | 2017_09_01_000000_create_bills_table | 1 |
| Yes | 2017_09_01_000000_create_categories_table | 1 |
| Yes | 2017_09_01_000000_create_companies_table | 1 |
| Yes | 2017_09_01_000000_create_currencies_table | 1 |
| Yes | 2017_09_01_000000_create_customers_table | 1 |
| Yes | 2017_09_01_000000_create_invoices_table | 1 |
| Yes | 2017_09_01_000000_create_items_table | 1 |
| Yes | 2017_09_01_000000_create_jobs_table | 1 |
| Yes | 2017_09_01_000000_create_modules_table | 1 |
| Yes | 2017_09_01_000000_create_notifications_table | 1 |
| Yes | 2017_09_01_000000_create_password_resets_table | 1 |
| Yes | 2017_09_01_000000_create_payments_table | 1 |
| Yes | 2017_09_01_000000_create_revenues_table | 1 |
| Yes | 2017_09_01_000000_create_roles_table | 1 |
| Yes | 2017_09_01_000000_create_sessions_table | 1 |
| Yes | 2017_09_01_000000_create_settings_table | 1 |
| Yes | 2017_09_01_000000_create_taxes_table | 1 |
| Yes | 2017_09_01_000000_create_transfers_table | 1 |
| Yes | 2017_09_01_000000_create_users_table | 1 |
| Yes | 2017_09_01_000000_create_vendors_table | 1 |
| Yes | 2017_09_14_000000_core_v1 | 6 |
| Yes | 2017_10_11_000000_create_bill_totals_table | 1 |
| Yes | 2017_10_11_000000_create_invoice_totals_table | 1 |
| Yes | 2017_11_16_000000_create_failed_jobs_table | 1 |
| Yes | 2017_12_09_000000_add_currency_columns | 1 |
| Yes | 2017_12_30_000000_create_mediable_tables | 1 |
| Yes | 2018_01_03_000000_drop_attachment_column_bill_payments_table | 1 |
| Yes | 2018_01_03_000000_drop_attachment_column_bills_table | 1 |
| Yes | 2018_01_03_000000_drop_attachment_column_invoice_payments_table | 1 |
| Yes | 2018_01_03_000000_drop_attachment_column_invoices_table | 1 |
| Yes | 2018_01_03_000000_drop_attachment_column_payments_table | 1 |
| Yes | 2018_01_03_000000_drop_attachment_column_revenues_table | 1 |
| Yes | 2018_01_03_000000_drop_picture_column_items_table | 1 |
| Yes | 2018_01_03_000000_drop_picture_column_users_table | 1 |
| Yes | 2018_04_23_000000_add_category_column_invoices_bills | 1 |
| Yes | 2018_04_26_000000_create_recurring_table | 1 |
| Yes | 2018_04_30_000000_add_parent_column | 1 |
| Yes | 2018_05_09_000000_double_entry_v1 | 8 |
| Yes | 2018_06_23_000000_modify_email_column | 1 |
| Yes | 2018_06_30_000000_modify_enabled_column | 1 |
| Yes | 2018_07_07_000000_modify_date_column | 1 |
| Yes | 2018_09_26_000000_add_reference_column_customers | 1 |
| Yes | 2018_09_26_000000_add_reference_column_vendors | 1 |
| Yes | 2018_10_02_000000_payroll_v1 | 9 |
| Yes | 2018_10_22_000000_create_bill_item_taxes_table | 1 |
| Yes | 2018_10_22_000000_create_invoice_item_taxes_table | 1 |
| Yes | 2018_10_27_000000_add_reconciled_column | 1 |
| Yes | 2018_10_27_000000_create_reconciliations_table | 1 |
| Yes | 2018_11_05_000000_add_tax_columns | 1 |
| Yes | 2019_01_07_000000_drop_tax_id_column | 1 |
| Yes | 2019_02_04_000000_modify_deleted_at_column_media_table | 1 |
| Yes | 2020_01_01_000000_add_locale_column | 1 |
| Yes | 2020_01_08_000000_core_v200 | 7 |
| Yes | 2020_03_20_183732_core_v208 | 10 |
| Yes | 2020_06_09_000000_core_v2014 | 11 |
| Yes | 2020_07_20_000000_core_v2017 | 12 |
| Yes | 2020_10_13_000000_core_v210 | 13 |
| Yes | 2020_12_23_020900_payroll_v211 | 16 |
| Yes | 2020_12_23_081739_employees_v1 | 15 |
| Yes | 2020_12_23_153921_payroll_v212 | 16 |
| Yes | 2021_01_07_144005_payroll_v215 | 16 |
| Yes | 2021_01_13_000000_double_entry_v2019 | 14 |
| No | 2021_04_01_000000_core_v219 | |
| No | 2021_05_17_000000_core_v2114 |
Hello Jhay!
try this:
php artisan update:finish core 1 2.1.16 2.1.8
Do a backup first!
Hello Leonardo. There's a error message in FinishUpdate.php line 48: Not able to finalize core installation. Please see below:
https://drive.google.com/file/d/1hDrrMo5ndtRWr-FI9df5FW8mH-tefugT/view?usp=sharing
Hi Leonardo,
I am self hosting on a Ubuntu 18.04 server and have tried the above and received the following error:
php artisan update:finish core 1 2.1.16 2.1.9
Finishing update...
Application cache cleared!
In FinishUpdate.php line 48:
Not able to finalize core installation
My current version is 2.1.9 and I would like to go to the latest version.
I am also having problems installing apps and I think the root cause is the same.
Running "php artisan migrate:status" shows the following:
+------+------------------------------+-------+
| Ran? | Migration | Batch |
+------+------------------------------+-------+
| Yes | 2017_09_14_000000_core_v1 | 1 |
| Yes | 2020_01_08_000000_core_v200 | 1 |
| Yes | 2020_03_20_183732_core_v208 | 1 |
| Yes | 2020_06_09_000000_core_v2014 | 1 |
| Yes | 2020_07_20_000000_core_v2017 | 1 |
| Yes | 2020_10_13_000000_core_v210 | 1 |
| Yes | 2021_04_01_000000_core_v219 | 2 |
+------+------------------------------+-------+
Hope you can help.
Majid.
Hi, why there is still no solution for this issue, I'm facing the same problem when going to update from version is 2.1.9 to 2.1.22. Can anybody help?
Hi Tony,
Just to let you know, I am still stuck on version 2.1.9. No help so far which is a little disappointing.
Hello Majid,
On Version 2.1.10 there was a major change on the way routes comunicate on the system.
When i had to make this upgrade, i checked my migrations and then i uninstall all modules and had to uninstall them back.
I am not sure if it will work for you, but in any cases if you want to try, be sure of yours steps and do some backups in case your application crashes.
Hi Leonardo,
I would appreciate it if you could provide step by step instructions so that I can try these.
I have nightly snapshots of the entire environment in case of disaster.
I would appreciate your help.
Showing 1 to 10 of 17 discussions