Updated EGroupware EPL Installation (markdown)

Hadi Nategh 2018-02-02 15:44:15 +01:00
parent 51e9048172
commit 04c134628a

@ -1182,7 +1182,38 @@ Manual update:
<pre>aptitude update; aptitude safe-upgrade;
</pre>
Automatic update: Using a cron script or cron-apt; have a look at: [https://help.ubuntu.com/community/AutomaticSecurityUpdates](https://help.ubuntu.com/community/AutomaticSecurityUpdates) or [https://help.ubuntu.com/community/AutoWeeklyUpdateHowTo](https://help.ubuntu.com/community/AutoWeeklyUpdateHowTo)
Automatic update:
Install unattended-upgrades if it's not already installed:
```
sudo apt-get install unattended-upgrades
```
Now you need to add egroupware packages into list of allowed packages in 50unattended-upgrades config file:
```
vi /etc/apt/apt.conf.d/50unattended-upgrades
```
find the Unattended-Upgrade::Allowed-Origins and based on your distro you should add the following line:
```
"obs\://build.opensuse.org/stylite-epl/xUbuntu_17.10:";
```
in the above case since our distro was 17.10 we add the xUbuntu_17.10. If you are using other debians like deb 8/9 instead of Unattended-Upgrade::Allowed-Origins you need to look for Unattended-Upgrade::Origins-Pattern and add the following line:
```
"o=obs://build.opensuse.org/stylite-epl/Debian_8.0,a=";
```
In order to check if the unattended-upgrades works with the given packages, you may run the following command:
```
unattended-upgrades --dry-run --debug
```
*--dry-run*: only downloads the upgradable packages but will not install them unless you run the unattended-upgrades command with no parameter.
</br>
If you wish to check logs and see what has happened with packages, you may read the following logs:
</br>
<pre>
/var/lib/unattended-upgrades/unattended-upgrades.log
/var/lib/unattended-upgrades/unattended-upgrades-shutdown.log
/var/lib/unattended-upgrades/unattended-upgrades-dpkg.log
</pre>
<a id="K14">