Agenda (Radicale)
Con Radicale puedes sincronizar tus calendarios, listas de tareas y agendas de contactos personales entre varios ordendores, tabletas, y/o teléfonos inteligentes y compartirlos con amistades. Todo sin tener que permitir a terceros que accedan a tu información privada.
¿Porque debería usar Radicale?
Usando Radicale puedes evitar servicios centralizados como Google Calendar o Apple Calendar (iCloud) que explotan los datos de tus eventos y conexiones sociales.
¿Cómo configurar Radicale?
Primero el servidor Radicale necesita estar activado en tu FreedomBox.
En el servicio FreedomBox (Plinth)
selecciona Apps
ve a Radicale (Calendario y Libreta de contactos) e
instala la aplicación. Tras completar la instalación asegúrate de que la aplicación está marcada como "habilitada" en el interfaz de FreedomBox. Habilitar la aplicación arranca el servidor CalDAV/CardDAV Radicale.
- define los permisos de acceso:
- Solo el dueño de un calendario/libreta de contactos puede ver o hacer cambios
- Cualquier usuario puede ver cualquier calendario/libreta de contactos pero solo el dueño puede hacer cambios
- Cualquier usuario puede ver o hacer cambios en cualquier calendario/libreta
Nota: Solo los usuarios dados de alta en FreedomBox pueden acceder a Radicale.
Si quieres compartir un calendario solo con algunos usuarios determinados la manera más simple es crear un nuevo usuario común para ellos y compartir con ellos el nombre del usuario común y su contraseña.
Radicale proporciona un interfaz web básico que solo soporta crear calendarios y libretas nuevos. Para añadir eventos o contactos se necesita una aplicación cliente soportada externa.
- Crear calendarios y/o libretas usando el interfaz web
Visita https://dirección_IP_o_dominio_de_tu_servidor/radicale/
Ingresa con tu cuenta de FreedomBox
- Selecciona "Crear nuevo calendario o libreta"
- Proporciona un título y selecciona el tipo
- Opcionalmente, proporciona una descripción o selecciona un color
- Haz clic en "Crear"
- La página mostrará la URL de tu created nuevo calendario o libreta
Ahora abre tu aplicación cliente para crear calendarios y/o libretas nuevos que usarán tu FreedomBox y servidor Radicale. El sitio web de Radicale proporciona una lista de clientes soportados pero no uses las URLs que se mencionan allí; sigue este manual porque FreedomBox usa otra configuración. A continuación se muestran los pasos para 2 ejemplos:
Ejemplo de configuración con el cliente Evolution:
- Calendario
- Crea un calendario nuevo
- Selecciona el "Tipo" "CalDAV"
- Con "CalDAV" seleccionado aparecerán más opciones en el cuadro de diálogo.
URL: https://dirección_IP_o_dominio_de_tu_servidor/radicale/usuario/nombre_del_calendario.ics/. Los elementos marcados en cursiva hay que cambiarlos de acuerdo a tu configuración.
nota: la / inicial de la ruta es importante.
- Habilita "Usar una conexión segura."
- Nombre del calendario
- Lista de tareas: Añadir una lista de tareas es prácticamente igual que con un calendario.
- Contactos
Sigue los mismos pasos anteriores reemplazando CalDAV por WebDAV y la extensión de la libreta por .vcf.
- Calendario
Sincronizar via Tor
Configurar un calendario en Plinth con Radicale sobre Tor es lo mismo que sobre la red en claro, en resumen:
When logged in to Plinth over Tor, click on Radicale, and at the prompt provide your FreedomBox user name and password.
In the Radicale web interface, log in using your FreedomBox user name and password.
- Click on "Create new address book or calendar", provide a title, select a type, and click "Create".
Save the URL, e.g., https://ONION-ADDRESS-FOR-YOUR-SERVER.onion/radicale/USERNAME/CALENDAR-CODE/. Items in italics need to be changed to match your settings.
These instructions are for Thunderbird/Lightning. Note that you will need to be connected to Tor with the Tor Browser Bundle.
- Open Thunderbird, install the Torbirdy add-on, and restart Thunderbird. (This may not be necessary.)
- In the Lightning interface, under Calendar/Home in the left panel right click with the mouse and select "New calendar".
- Select the location of your calendar as "On the Network".
Select CalDAV and for the location copy the URL, e.g., https://ONION-ADDRESS-FOR-YOUR-SERVER.onion/radicale/USERNAME/CALENDAR-CODE/. Items in italics need to be changed to match your settings.
Provide a name, etc. Click "Next". Your calendar is now syncing with your FreedomBox over Tor.
If you have not generated a certificate for your FreedomBox with "Let's Encrypt", you may need to select "Confirm Security Exception" when prompted.
Sincronizar con tu teléfono Android
There are various Apps that allow integration with the Radicale server. This example uses DAVx5, which is available e.g. on F-Droid. If you intend to use ToDo-Lists as well, the compatible app OpenTasks has to be installed first.
Follow these steps for setting up your account with the Radicale server running on your FreedomBox.
- Install DAVx5
- Create a new account on DAVx5 by clicking on the floating + button.
Select the second option as shown in the first figure below and enter the base url as https://<your.freedombox.address>/radicale/username/ (don't miss the / at the end). DAVx5 will be able to discover both CalDAV and WebDAV accounts for the user.
Follow this video from DAVx5 FAQ to learn how to migrate your existing contacts to Radicale.
Synchronizing contacts
- Click on the hamburger menus of CalDAV and CardDAV and select either "Refresh ..." in case of existing accounts or "Create ..." in case of new accounts (see the second screenshot below).
- Check the checkboxes for the address books and calendars you want to synchronize and click on the sync button in the header. (see the third screenshot below)
Usuarios Avanzados
Compartir recursos
Above was shown an easy way to create a resource for a group of people by creating a dedicated account for all. Here will be described an alternative method where two users User1 and User2 are granted access to a calendar. This requires SSH-access to the FreedomBox.
create a file /etc/radicale/rights
[friends_calendar] user: ^(User1|User2)$ collection: ^.*/calendar_of_my_friends.ics$ permission: rw # Give write access to owners [owner-write] user: .+ collection: ^%(login)s/.+$ permission: rw
[friends_calendar] is just an identifier, can be any name.
The [owner-write] section makes sure that owners have access to their own files
edit file /etc/radicale/config and make the following changes in section [rights)
[rights] type = from_file file = /etc/radicale/rights
Restart the radicale server or the FreedomBox
Importar archivos
If you are using a contacts file exported from another service or application, it should be copied to: /var/lib/radicale/collections/user/contact file name.vcf.
Migrar desde Radicale versión 1.x a versión 2.x
During the month of February 2019, radicale in Debian testing was upgraded from version 1.x to version 2.x. Version 2.x is a better version but is incompatible with data and configuration used with 1.x. Automatic upgrade mechanism in FreedomBox, handled by unattended-upgrades does not automatically upgrade radicale to version 2.x due to changes in configuration files. However, FreedomBox version 19.1, which is available on February 23rd, 2019 in testing will perform data and configuration migration to radicale version 2.x. Typical users require no action, this will happen automatically.
If for some reason, you need to manually run apt dist-upgrade on your machine, then radicale will be upgraded to 2.x and then FreedomBox will not be able to perform its upgrade (due to upstream project deciding to remove migration tools in radicale 2.x version). To avoid this situation, the following process is recommended if you wish to perform an upgrade.
sudo su - apt hold radicale apt dist-upgrade apt unhold radicale
However, if you already happen to perform an upgrade to radicale 2.x without help from FreedomBox, you need to perform data and configuration migration yourself. Follow this procedure:
sudo su - tar -cvzf /root/radicale_backup.tgz /var/lib/radicale/ /etc/radicale/ /etc/default/radicale apt install -y python-radicale python -m radicale --export-storage=/root/radicale-migration cp -dpR /root/radicale-migration/collection-root /var/lib/radicale/collections/collection-root/ (remove this directory if it already exists. Or perhaps merge the contents.) chown -R radicale:radicale /var/lib/radicale/collections/collection-root/ apt remove -y python-radicale if [ -f /etc/radicale/config.dpkg-dist ] ; then cp /etc/radicale/config.dpkg-dist /etc/radicale/config ; fi if [ -f /etc/default/radicale.dpkg-dist ] ; then cp /etc/default/radicale.dpkg-dist /etc/default/radicale ; fi (After FreedomBox 19.1 is available, goto FreedomBox web interface and set your preference for calendar sharing again, if it is not the default option, as it will have been lost.)
Notes:
python-radicale is an old package from radicale 1.x version that is still available in testing. This is a hack to use the --export-storage feature that is responsible for data migration. This feature is not available in radicale 2.x unfortunately.
- Files ending with .dpkg-dist will exist only if you have chosen 'Keep your currently-installed version' when prompted for configuration file override during radicale 2.x upgrade. The above process will overwrite the old configuration with new fresh configuration. No changes are necessary to the two configuration files unless you have changed the setting for sharing calendars.
- Note that during the migration, your data is safe in /var/lib/radicale/collections directory. New data will be created and used in /var/lib/radicale/collections/collections-root/ directory.
- The tar command takes a backup your configuration and data in /root/radicale_backup.tgz in case you do something goes wrong and you want to undo the changes.
Resolución de Problemas
1. If you are using FreedomBox Pioneer Edition or installing FreedomBox on Debian Buster, then radicale may not be usable immediately after installation. This is due to a bug which has been fixed later. To overcome the problem, upgrade FreedomBox by clicking on 'Manual Update' from 'Updates' app. Otherwise, simply wait a day or two and let FreedomBox upgrade itself. After that install radicale. If radicale is already installed, disable and re-enable it after the update is completed. This will fix the problem and get radicale working properly.
Volver a la descripción de Funcionalidades o a las páginas del manual.
Introducción |
Información |
Soporte |
Contribuye |
Informes |
Promueve |
|
|
|
|||||
|
|
|
AYUDA y DEBATES: Foro de Debate - Matrix - Lista de Correo - #freedombox irc.debian.org | CONTACTO Fundación | PARTICIPA Proyecto
Next call: Saturday, April 13 at 14:00 UTC
Esta página está sujeta a copyright y sus autores la publican bajo la licencia pública Creative Commons Atribución-CompartirIgual 4.0 Internacional (CC BY-SA 4.0).