Ask, reply and learn. Join the community of Akaunting.
Hi
Im trying to update to 2.0.18 from 2.0.16 and get the above error when trying to update via the update page.
WHy is it doing this? Can someone pooint me in the right direction as to how to solve this.
Thanks
Hello,
Is this a local or online server? Have you checked the firewall settings and/or log files?
Regards
Its a online server.
Which logfiles will be best to look at?
I am having the same issue. Did find and solution James?
Denis can you please guide us? I have purchased inventory app and its also not installing.
No I haven't found a solution yet. Im running it on Mint Linux and Apache. The app is installed in /var/www/html/
It updates successfully on IOS using MAMP though.
I havent had time yet to play around more with it in the Linux box.
I found that my internet connection is slow and the download of update file timesout.
When I changed the timeout period to 75 then the update was successful.
I made the change on Line 46 of the file:
app/Utilities/Updater.php
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
It seems that if your internet speed is slow it times out. You need to increase the timeout period in the Downloader file.
Thank you, James, but this isn't related to the internet speed or timeout period, but I found what the problem was.
I'm running Akauntinf on CentOS 8 Apache and the issue was with SELinux, it is easy to fix.
If anyone facing a similar issue you can follow the steps below;
1. I will suggest to set SELINUX=permissive
$ sudo nano /etc/sysconfig/selinux
Change to SELINUX=permissive
$ sudo reboot
2. If this was the problem then you have to give read write permissions to your akaunting directory
$ chcon -t httpd_sys_rw_content_t /srv/www/akaunting/storage -R
$ chcon -t httpd_sys_rw_content_t /srv/www/bootstrap/cache -R
OR you ca d it on entire akaunting directory
$ chcon -t httpd_sys_rw_content_t /srv/www/akaunting/ -R
Please change " /srv/www/akaunting/" to your path.
So "Unable to download core" is solved for me. But now installation is stuck on 80% which is related to the database;
In Connection.php line 692:
SQLSTATE[42000]: Syntax error or access violation: 1059 Identifier name 'aka_prefixed_mediables_medi
a_id_mediable_type_mediable_id_tag_primary' is too long (SQL: alter table `aka_prefixed_mediables` a
dd primary key `aka_prefixed_mediables_media_id_mediable_type_mediable_id_tag_primary`(`media_id`, `
mediable_type`, `mediable_id`, `tag`))
In Connection.php line 485:
SQLSTATE[42000]: Syntax error or access violation: 1059 Identifier name 'aka_prefixed_mediables_medi
a_id_mediable_type_mediable_id_tag_primary' is too long
Seems that this always happens when you have a gap between versions.
So I was thinking if I try to update it gradually eg. from V2.1.9 to 2.1.10 and so on, that may fix this issue but I don't know how to do that. I did try this "php artisan update:finish core 1 2.1.10 2.1.9" but didn't work.
can anyone write here how to update Akaunting versions gradually, or have a resolution for this issue?
Showing 1 to 9 of 9 discussions