# Ajxp\_access.log not rotating proper-breaks services

**URL:** <https://forum.pydio.com/t/ajxp-access-log-not-rotating-proper-breaks-services/1345>\
**Category:** Pydio 8\
**Created:** [July 18, 2018, 12:40pm UTC](https://forum.pydio.com/t/ajxp-access-log-not-rotating-proper-breaks-services/1345 "2018-07-18T12:40:54Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![aorlowski](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@aorlowski](https://forum.pydio.com/u/aorlowski)\
**Post date:** [July 18, 2018, 12:40pm UTC](https://forum.pydio.com/t/ajxp-access-log-not-rotating-proper-breaks-services/1345/1 "2018-07-18T12:40:54Z")

</div>

We recently upgraded from 8.0 to 8.2.1, it went swimmingly

Issue we ran into after is ajxp\_access.log is not rotating proper at 23:59  
and from what I see it breaks services. In addition public links stop working.

only way to resolve temporarily is to re-create log file with symlink  
and restart services.

 ![SecureShare-down](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/c78590505f98f51a3f464b267648ddf1576df94a.png)

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [July 31, 2018, 1:52pm UTC](https://forum.pydio.com/t/ajxp-access-log-not-rotating-proper-breaks-services/1345/2 "2018-07-31T13:52:56Z")

</div>

Hi,  
what php version are you using?

---

<div class="post-metadata">

**Author:** ![aorlowski](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@aorlowski](https://forum.pydio.com/u/aorlowski)\
**Post date:** [July 31, 2018, 2:05pm UTC](https://forum.pydio.com/t/ajxp-access-log-not-rotating-proper-breaks-services/1345/3 "2018-07-31T14:05:31Z")

</div>

Hi zayn,  
currently 8.2.1 is pydio version  
using remi-php5.6

in short i was able to resolve issue with recreating symlink with proper permissions  
just curious as to why an upgrade just changes permissions.

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [July 31, 2018, 2:08pm UTC](https://forum.pydio.com/t/ajxp-access-log-not-rotating-proper-breaks-services/1345/4 "2018-07-31T14:08:30Z")

</div>

Hi,  
what the upgrade does first is check if it can read/write the pydio files (not what you have stored in workspaces etc…) and then the upgrade will start to modify,add what’s need to match the updated version.

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [July 31, 2018, 2:11pm UTC](https://forum.pydio.com/t/ajxp-access-log-not-rotating-proper-breaks-services/1345/5 "2018-07-31T14:11:12Z")

</div>

by the way, if you could upgrade php to the version 7 it would be great as it’s faster and has new stuff. ( and also there some changes for example the mcrypt package is deprecated on php 7 therefore you need openssl)

---

<div class="post-metadata">

**Author:** ![aorlowski](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@aorlowski](https://forum.pydio.com/u/aorlowski)\
**Post date:** [July 31, 2018, 2:12pm UTC](https://forum.pydio.com/t/ajxp-access-log-not-rotating-proper-breaks-services/1345/6 "2018-07-31T14:12:39Z")

</div>

I see.

So why you are on here, here is another question in regard to the “Application Logger” settings.

DefaultSettings:  
Log Folder= /var/log/pydio/  
File Name Pattern=log\_date(‘m-d-y’).txt  
Files Permissions= 770

what i find interesting on a brand new build of 8.2.1, without importing database from a previous server (migration-path)

The logs simply do not show up ( like I have no idea where they are at or going) Plugins are installed, enabled  
as I see it.  
My guess is I need to create ajxp\_access.log file with proper apache permissions and symlink

---

<div class="post-metadata">

**Author:** ![aorlowski](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@aorlowski](https://forum.pydio.com/u/aorlowski)\
**Post date:** [July 31, 2018, 2:14pm UTC](https://forum.pydio.com/t/ajxp-access-log-not-rotating-proper-breaks-services/1345/7 "2018-07-31T14:14:37Z")

</div>

ya know, i did try to upgrade to various php7.x versions  
and I always got some php56 (remi version(s)) dependancy issues with  
three packages, do not remember them all off hand, one was php7 version of mcrypt, it wanted version from remi 5.6

I gave up on that en-devour

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [July 31, 2018, 2:16pm UTC](https://forum.pydio.com/t/ajxp-access-log-not-rotating-proper-breaks-services/1345/8 "2018-07-31T14:16:09Z")

</div>

yeah if you have other stuff depending on your php 5.6 packages it could be trouble unfortunate.

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [July 31, 2018, 2:21pm UTC](https://forum.pydio.com/t/ajxp-access-log-not-rotating-proper-breaks-services/1345/9 "2018-07-31T14:21:18Z")

</div>

> [@aorlowski](#):
>
> The logs simply do not show up ( like I have no idea where they are at or going) Plugins are installed, enabled  
> as I see it.

It could be that your pydio doesn’t have the right to write in the `/var/log` folder, what you could do to make sure would be to create a folder on your `/home/user/log`(to test), give it the rights (770 for instance ) and change user to www-data.

---

<div class="post-metadata">

**Author:** ![aorlowski](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@aorlowski](https://forum.pydio.com/u/aorlowski)\
**Post date:** [July 31, 2018, 2:32pm UTC](https://forum.pydio.com/t/ajxp-access-log-not-rotating-proper-breaks-services/1345/10 "2018-07-31T14:32:21Z")

</div>

ya, as i suspected  
just created the files with symlink with proper apache permissions and all is good  
after a httpd24-httpd restart.

Thanks for your help zayn

Allen
