Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Installation script breaks the server

Power Quest   ( User )

Commented 4 years ago

Here is the two latest installation logs from the attempt yesterday and today to install Akaunting. (Sensitive information had been removed/altered):

Yesterday attempt: https://pastebin.com/7FmkUmA7
Today: https://pastebin.com/EKfTRFSR

Zeeshan Javed   ( User )

Commented 4 years ago

you just have php & apache server configuration mismatch issue with akaunting app . i have fixed it on multiple different server environments.

Power Quest   ( User )

Commented 4 years ago

Could you specify further with what you mean so others also in the community could also benefit from the solution to this issue please?

Zeeshan Javed   ( User )

Commented 4 years ago

i have told you earlier as well that every hosting server/environment have different OS & software versions and different php extensions and different php settings which may cause different issues for different versions of apps which we are trying to install or upgrade on our server.

for details analysis and trouble shooting i need to look in to your specific issue after logging in to the server. there is no set rules or instructions i tell u to follow to fix such issues.

Alex Bessa   ( User )

Commented 4 years ago

I had much trouble for rolling back but I managed it, try check the steps bellow

By installing PHP Stuff required and some others like:

php7.4 libapache2-mod-php7.4 php7.4-common php7.4-imap php7.4-mbstring php7.4-xmlrpc php7.4-soap php7.4-gd php7.4-xml php7.4-intl php7.4-mysql php7.4-cli php7.4-ldap php7.4-zip php7.4-curl php7.4-bcmath php7.4-ctype php7.4-json php7.4-mbstring php7.4-pdo php7.4-tokenizer php7.4-xml php7.4-zip

This one also needs to be enabled if you're running over mysql:
phpenmod pdo_mysql <<- or just enable it on /etc/php/7.4/apache2/php.ini

Apache rewrite module must be enabled:
a2enmod rewrite

Folder permission:
chown -R www-data:www-data /var/www/html/akauntingdir

Apache sites-enableds...:

ServerName sitename.local
ServerAlias akaunting.sitename.local
DocumentRoot /var/www/html/akaunting/

Options +FollowSymlinks
AllowOverride All
Require all granted

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined


DB stuff
-> create database
-> create user for the database
-> create permissions

-------- This would works on new instalations.

Power Quest   ( User )

Commented 4 years ago

Thanks Alex a bunch for taking time to share the probable solution to this issue with us and the rest of the Akaunting community which could gain form this too if they hit the same issue as us.
It is very appreciated.
We have forwarded your suggestion to the company that manages our server.

Denis Dulici   ( Admin )

Commented 4 years ago

You can have Akaunting installed in one-click via DigitalOcean:

https://marketplace.digitalocean.com/apps/akaunting

If you still don't want that, check the following articles out:

https://www.techrepublic.com/article/how-to-install-the-akaunting-accounting-suite-on-ubuntu-18-04
https://computingforgeeks.com/how-to-install-akaunting-on-ubuntu-18-04-open-source-online-accounting-software
https://websiteforstudents.com/install-akaunting-on-ubuntu-16-04-18-04-with-apache2-mariadb-and-php-7-2
https://www.howtoforge.com/how-to-install-akaunting-on-ubuntu-1804

Power Quest   ( User )

Commented 4 years ago

Hi Denis.
We already have Akaunting installed on our server, but a lower version which generally runs fine (some bugs here and there), but due to some issues with upgrading we thought it would just be easier to run run a fresh installation. But apparently as this thread shows it did not turn out that way.

Power Quest   ( User )

Commented 4 years ago

@Denis
I forgot to mention also in previous reply that the older versions installation script runs just fine by the way when we run it, but the newer version (Akaunting_2.0.10-Stable.zip), does mess up our server as mentioned in this forum thread and eats up all the memory by starting all these php processes..

Denis Dulici   ( Admin )

Commented 4 years ago

Hello Power,

There must be something wrong on your server, maybe PHP CLI not set up correctly, as Akaunting gets installed by thousands, daily.

Regards

Please login or register to leave a response.

Showing 11 to 20 of 21 discussions