Problem
Reinstalling the Radius app on UCS fails with the following error:
Unable to open file "/etc/freeradius/3.0/proxy.conf.debian": No such file or directory
This typically happens if /etc/freeradius was manually removed before reinstalling the app.
Root Cause
After running:
univention-app remove radius
some FreeRADIUS packages remain in a residual state:
dpkg -l | grep freeradius
Output:
rc freeradius
rc freeradius-common
rc freeradius-config
The rc state means that the package itself is removed but its configuration files are still registered in dpkg.
The package freeradius-config normally provides important configuration files such as:
/etc/freeradius/3.0/proxy.conf.debian
If /etc/freeradius is manually deleted, these files are physically gone, but dpkg still assumes they exist. As a result, reinstalling the app does not restore them automatically, leading to the failure.
Solution
Fully remove the remaining FreeRADIUS packages including their configuration:
univention-app remove radius
apt purge freeradius freeradius-config freeradius-common
After that, reinstall the Radius app. The required configuration files will be properly recreated.