Upgrade PIP

Submitted by Fekete Zoltán on

Use this command to upgrade all packages in your local pip repository:

pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip install -U

NOTE: You have to substitute pip command with the full name of your installed pip version on NetBSD, like this: pip3.7

Addressbook and Calendar URL in NextCloud

Submitted by Fekete Zoltán on

For addressbook use this format:

https://<NEXTCLOUD_SERVER>/remote.php/dav/addressbooks/users/<USER_NAME>/<CONTACTS_NAME>

You find the CONTACTS_NAME in the NextClouds database's oc_addressbooks table. The column name is 'uri'.

For calendar use this one:

https://<NEXTCLOUD_SERVER>/remote.php/dav/calendars/<USER_NAME>/<CALENDAR_NAME>

You find the CALENDAR_NAME in the NextClouds database's oc_calendars table. The column name is still 'uri'.

 

Install an individual set on NetBSD

Submitted by Fekete Zoltán on

Save your settings, and run commands like this to install a single set to your system:

- save your settings first
# tar -cvJpf etc.tar.xz /etc
# tar -Jxvpf base.tar.xz -C /
- do the same with other sets except for etc and xetc

# etcupdate -av -s etc.tar.xz -s xetc.tar.xz
# postinstall fix

Then reboot to be on the safe side.