[contribteam] [Bug 10560] /etc/cron.daily/logrotate nextcloud error

2018-04-11 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10560

Jean-Philippe Pialasse  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

--- Comment #4 from Jean-Philippe Pialasse  ---
released

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10560] /etc/cron.daily/logrotate nextcloud error

2018-04-09 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10560

Jean-Philippe Pialasse  changed:

   What|Removed |Added

 Blocks||10561


Referenced Bugs:

https://bugs.contribs.org/show_bug.cgi?id=10561
[Bug 10561] restarting php-fpm with signal-event make signal-event hangs
forever
-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10560] /etc/cron.daily/logrotate nextcloud error

2018-04-09 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10560

--- Comment #3 from Jean-Philippe Pialasse  ---
was able to reproduce.
the issue was that the php-fpm restart will keep the action to handle service
up event after it has successfully ended.

change back to reload, also move httpd to httpd-e-smith


/usr/bin/plague-client build smeserver-nextcloud
smeserver-nextcloud-1_1_0-5_el6_sme contribs9
Package smeserver-nextcloud enqueued.  Job ID: 1885.

%changelog
* Mon Apr 09 2018 Jean-Philipe Pialasse  1.1.0-5.sme
- fix signal-event nextcloud-update hang [SME: 10560]

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10560] /etc/cron.daily/logrotate nextcloud error

2018-04-09 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10560

--- Comment #2 from Rod Egan  ---
(In reply to Jean-Philippe Pialasse from comment #1)
> su is not available for centos 6
> 
> 
> /usr/bin/plague-client build smeserver-nextcloud
> smeserver-nextcloud-1_1_0-4_el6_sme contribs9
> Package smeserver-nextcloud enqueued.  Job ID: 1884.
> 
> %changelog
> * Sun Apr 08 2018 Jean-Philipe Pialasse  1.1.0-4.sme
> - fix wrong logrotate option [SME: 10560]
> - change password storage mode for smb share to allow access from portable
> devices [SME: 10558]
> - create the "ibays" main folder to mount all ibays in every user nextcloud
> space [SME: 10557]
> - add Shared folders in nextcloud under the ibays folder [SME: 10559]
> 
> 
> fixed, will be in smetest in about one hour.


Tried updating smeserver-nextcloud then running signal-event nextcloud-update
command line still hanging after ~1hr.
aborted signal-event.

uninstalled smeserver-nextcloud and nextcloud via yum uninstall. deleted 
/home/e-smith/files/nextcloud
and
/usr/share/nextcloud
also dropped nextcloud database.
and removed nextcloud properties from sme config database.

did a new install from smetest and smecontribs and confirmed that
smeserver-nextcloud-1_1_0-4_el6_sme was used.
after the install, running nextcloud-update had same result, still not returing
to command line after over an hour.


tail -50 of /var/log/messages
Apr  9 15:04:21 fwbox esmith::event[7533]:
Apr  9 15:04:21 fwbox esmith::event[7533]: files_external:applicable
[--add-user ADD-USER] [--remove-user REMOVE-USER] [--add-group ADD-GROUP]
[--remove-group REMOVE-GROUP] [--remove-all] [--output [OUTPUT]] [--]

Apr  9 15:04:21 fwbox esmith::event[7533]:
Apr  9 15:04:21 fwbox esmith::event[7533]: created photos
Apr  9 15:04:27 fwbox esmith::event[7533]:
Apr  9 15:04:27 fwbox esmith::event[7533]:
Apr  9 15:04:27 fwbox esmith::event[7533]:  
[Symfony\Component\Console\Exception\RuntimeException]
Apr  9 15:04:27 fwbox esmith::event[7533]:   Not enough arguments (missing:
"mount_id").
Apr  9 15:04:27 fwbox esmith::event[7533]:
Apr  9 15:04:27 fwbox esmith::event[7533]:
Apr  9 15:04:27 fwbox esmith::event[7533]: files_external:applicable
[--add-user ADD-USER] [--remove-user REMOVE-USER] [--add-group ADD-GROUP]
[--remove-group REMOVE-GROUP] [--remove-all] [--output [OUTPUT]] [--]

Apr  9 15:04:27 fwbox esmith::event[7533]:
Apr  9 15:04:27 fwbox esmith::event[7533]: created usbmount
Apr  9 15:04:29 fwbox esmith::event[7533]: delete 6 : /ibays/trippics
Apr  9 15:04:32 fwbox esmith::event[7533]: delete 11 : /ibays/usbmount
Apr  9 15:04:34 fwbox esmith::event[7533]: delete 3 : /ibays/general
Apr  9 15:04:36 fwbox esmith::event[7533]: delete 7 : /ibays/vsinfo
Apr  9 15:04:38 fwbox esmith::event[7533]: delete 9 : /ibays/dlna
Apr  9 15:04:41 fwbox esmith::event[7533]: delete 2 : /ibays/gallery
Apr  9 15:04:43 fwbox esmith::event[7533]: delete 8 : /ibays/backups
Apr  9 15:04:46 fwbox esmith::event[7533]: delete 1 : /ibays/docs
Apr  9 15:04:48 fwbox esmith::event[7533]: delete 4 : /ibays/pics
Apr  9 15:04:50 fwbox esmith::event[7533]: delete 10 : /ibays/photos
Apr  9 15:04:52 fwbox esmith::event[7533]: delete 5 : /ibays/sagepages
Apr  9 15:04:57 fwbox esmith::event[7533]: Set mode for background jobs to
'cron'
Apr  9 15:04:59 fwbox esmith::event[7533]:
Apr  9 15:04:59 fwbox esmith::event[7533]:
Apr  9 15:04:59 fwbox esmith::event[7533]:  
[Symfony\Component\Console\Exception\RuntimeException]
Apr  9 15:04:59 fwbox esmith::event[7533]:   Not enough arguments (missing:
"user").
Apr  9 15:04:59 fwbox esmith::event[7533]:
Apr  9 15:04:59 fwbox esmith::event[7533]:
Apr  9 15:04:59 fwbox esmith::event[7533]: group:adduser  
Apr  9 15:04:59 fwbox esmith::event[7533]:
Apr  9 15:04:59 fwbox esmith::event[7533]:
S30nextcloud-occ-conf=action|Event|nextcloud-update|Action|S30nextcloud-occ-conf|Start|1523257335
73752|End|1523257499 311635|Elapsed|164.237883
Apr  9 15:04:59 fwbox esmith::event[7533]: Running event handler:
/etc/e-smith/events/actions/adjust-services
Apr  9 15:04:59 fwbox esmith::event[7533]: adjusting non-supervised php-fpm
(restart)
Apr  9 15:04:59 fwbox php-fpm[6524]: [NOTICE] Terminating ...
Apr  9 15:04:59 fwbox php-fpm[6524]: [NOTICE] exiting, bye-bye!
Apr  9 15:04:59 fwbox esmith::event[7533]: Stopping php-fpm:
#033[60G[#033[0;32m  OK  #033[0;39m]#015
Apr  9 15:05:00 fwbox php-fpm[10254]: [NOTICE] fpm is running, pid 10254
Apr  9 15:05:00 fwbox php-fpm[10254]: [NOTICE] ready to handle connections
Apr  9 15:05:00 fwbox esmith::event[7533]: Starting php-fpm:
#033[60G[#033[0;32m  OK  #033[0;39m]#015
Apr  9 15:05:00 fwbox esmith::event[7533]: adjusting non-supervised
php71-php-fpm (restart)
Apr  9 15:05:00 fwbox php71-fpm[6553]: [NOTICE] Terminating ...
Apr  9 15:05:00 fwbox php71-fpm[6553]: [NOTICE] exiting, bye-bye!
Apr  9 15:05:00 fwbox esmith::event[7533]: Stopping php-fpm:
#033[60G[#033[0;32m  OK  #033[0;39m]#015
Apr  9 15:05:00 fwbox php71-fpm[10283]: [NOTICE] fpm is running, pid 10283
Apr  9 15:05:

[contribteam] [Bug 10560] /etc/cron.daily/logrotate nextcloud error

2018-04-08 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10560

Jean-Philippe Pialasse  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Jean-Philippe Pialasse  ---
su is not available for centos 6


/usr/bin/plague-client build smeserver-nextcloud
smeserver-nextcloud-1_1_0-4_el6_sme contribs9
Package smeserver-nextcloud enqueued.  Job ID: 1884.

%changelog
* Sun Apr 08 2018 Jean-Philipe Pialasse  1.1.0-4.sme
- fix wrong logrotate option [SME: 10560]
- change password storage mode for smb share to allow access from portable
devices [SME: 10558]
- create the "ibays" main folder to mount all ibays in every user nextcloud
space [SME: 10557]
- add Shared folders in nextcloud under the ibays folder [SME: 10559]


fixed, will be in smetest in about one hour.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10560] /etc/cron.daily/logrotate nextcloud error

2018-04-08 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10560

Bug ID: 10560
   Summary: /etc/cron.daily/logrotate nextcloud error
Classification: Contribs
   Product: SME Contribs
   Version: 9.2
  Hardware: ---
OS: ---
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: smeserver-nextcloud
  Assignee: te...@pialasse.com
  Reporter: r...@sages.com.au
QA Contact: contribteam@lists.contribs.org
  Target Milestone: ---

Following error report received after daily cron log rotate run

/etc/cron.daily/logrotate:

error: nextcloud:6 unknown option 'su' -- ignoring line
error: nextcloud:6 unexpected text



for info:
/etc/logrotate.d/nextcloud

/home/e-smith/files/nextcloud/data/nextcloud.log {
  compress
  delaycompress
  missingok
  notifempty
  su www www
  create 640 www www
}



[root@fwbox data]# ls -l nextcloud.log
-rw-r- 1 apache www 17637 Apr  8 19:41 nextcloud.log

-- 
You are receiving this mail because:
You are the QA Contact for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/