Forum

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

New Discussion

Akaunting 2.1.32 update

Addison Neill   ( User )

Commented 5 months ago

Hello
after following these instructions to fix my last issue
https://akaunting.com/forum/discussion/announcements/akaunting-2132-update

I am able to access and update all my apps from my UI. I can expense and add invoices no problem then log out. However as soon as I attempt to log back in later I get a 500 after putting my creds in. (log in page loads fine)

here is the offending log entry from apache2 logs
[date and time stamp] [authz_core:error] [pid 110996] [client 3.230.171.174:52476] AH01630: client denied by server configuration: /var/www/html/.env

this error seems to stop and go away if I run the update command which is
php artisan update core 1 2.1.33
but again if I log out and back in this problem re-occurs... everytime

any help on this would be greatly appreciated
tks

Jeff Hintze   ( User )

Commented 5 months ago

Addison, unfortunately I haven't experienced that issue so I can't point you in the right direction. After running the command, what version does your Akaunting show? I know they have updated past .33 now.

Greg Bockelmann   ( User )

Commented 5 months ago

@Addison, I had gotten the Error 500 after updating to 2.1.35. I got it the next day when I logged back in. Search the forum for ”Error 500” and there is a discussion about permissions to a file that needs to be changed. Check the error.log file for the error.
I'm my case I had to change the owner and group of a folder that was buried deep.

Greg Bockelmann   ( User )

Commented 5 months ago

This is discussion a stumbled upon and pointed me to check the logs and turn on debug for more details. https://www.api.akaunting.com/forum/discussion/general/internal-server-error-500

The link to enable debug was wrong you can find that here: https://akaunting.com/docs/faq/error-details

It will show you the path of which you will need to change the permission on.

Addison Neill   ( User )

Commented 5 months ago

searching the forum for error 500 retrieves 200 pages of problems .........
also ran the php artisan update for the newer verision 2.1.35 instead of 33 and
it installed seemingly successfully .. no errors
now every tab under my Sales category 500's (except for clients page)
and this error pops in my apache2 errors.log
[CURRENT-DATE-TIME] AH00094 : Command line: 'usr/sbin/apache2'

Addison Neill   ( User )

Commented 5 months ago

tks all for the pointers .. I found the offending file ... it was a log file .. looks like its being created by root and www-data needs to own it to write to it ... throws a 500 when the log file cant be written to by that specific user/group

Brandon Pittam   ( User )

Commented 5 months ago

I saw John's post about the company "Number" I changed that to #4 and the SSH update worked.

Richard Cooke   ( User )

Commented 4 months ago

You may have to change the permissions on the artisan file. In my system it was initially set to 644 - which is missing the "executable" flag amongst others. I changed it to 777 to make sure it would not cause a security issue again.

Richard Cooke   ( User )

Commented 4 months ago

I get an error:

"Not able to download core"

Raul Valencia Alcala   ( User )

Commented 3 months ago

me ayudarian a corregir este error por favor
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2".

Please login or register to leave a response.

Showing 41 to 50 of 50 discussions