Hi there, On Sun, 16 Feb 2020, shacky wrote:
I'm trying to upgrade from BackupPC 3 to BackupPC 4 on one Debian system, but I'm having problems with Apache2 and the BackupPC cgi file. The web interface tells me "Error: Wrong user: my userid is 33, instead of 108(backuppc)", even if the cgi script belongs to the backuppc user and suid is enabled: ... Could you help me to understand where I'm wrong, please?
I think Apache needs permissions to run BackupPC that it doesn't have, probably because it's running as user 'www-data' and not 'backuppc'. So you can either change APACHE_RUN_USER and APACHE_RUN_GROUP in /etc/apache2/envvars from 'www-data' to 'backuppc' and restart Apache, (which might break everything else that Apache is serving) or if it is serving other stuff you could install SCGI - which is a bit more work. I believe this is all in the documentation. -- 73, Ged. _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/