OK thank you, I've reorganized the user on the freenas so the backuppc user and group has de same user.group number then on the backuppc server (centos 7.0)
the freenas is mounted as nfs on /var/lib/backuppc Now all backup goes find and all maintnance script are working. My only problem is with the backuppc web interface. everything work except the acces to the information on the nfs. Cannot see the pc summary or any specific pc backup or info. I can acces alldata that is stored on centos but nothing that is on the freenas. Each time I click on let say pc summary I finally get a Gateway Timeout The gateway did not receive a timely response from the upstream server or application. this is the same setup that I had before when /var/lib/BackupPC was on an raid patition on localhost. I simply copyed over the raid partition onto the freenas partition and checking that I have the same permission. So as soon as I fix the user.group number for backuppc on both the backup started again There shoud be something about the NFS exported partition fom the freenas preventing the backuppc web interface to access the data on the freenas partition vis nfs. I'm using nfsv3 now. Didn't test with nfsv4 will try to add the no_root_squash option on /etc/exports on the freenas Will see, Claude Gélinas agr Phyto Ressources Inc. Le Thu, 2 Mar 2017 07:12:59 -0400 Christophe Gouinaud <[email protected]> a écrit: > Hi, > > Users is know only by uid gid on nfs, so if uid is different user is > différent. > > You can check this with cd /var/lib/BackupPC/ and run ls -l . > > You can fix this with running chown -R > backuppc.backuppc /var/lib/BackupPC/. on the backuppc server. > > If you get a permission denied when running chown error you must > remount the nfs partition with « no_root_squash » option. > > Don’t worry about the username show on Freenass. > > C.G > > > > Le 1 mars 2017 à 21:20, Claude Gelinas <[email protected]> a > > écrit : > > > > Hi, > > > > I'm on centos 7.0 running backuppc find until I reach 100% disck > > capacity for /var/lib/BackupPC (raid partition). So I managed to > > transfer /var/lib/BackupPC/* on a freeNAS server and do a mount nfs > > of the freeNAS on /var/lib/BackupPC. > > > > Now backupPB web ap give me : > > > > Gateway Timeout > > The gateway did not receive a timely response from the upstream > > server or application. > > > > There is nothing in the log: > > > > 2017-03-01 19:42:20 Got signal TERM... cleaning up > > 2017-03-01 19:43:23 Reading hosts file > > 2017-03-01 19:43:23 BackupPC started, pid 10984 > > 2017-03-01 19:43:23 Running BackupPC_trashClean (pid=10991) > > 2017-03-01 19:43:23 Next wakeup is 2017-03-01 20:00:00 > > 2017-03-01 20:00:01 Next wakeup is 2017-03-01 21:00:00 > > > > the only thing I can see is on centos the user backuppc is 1001.1001 > > (user.group) > > > > on the freeNAS backuppc user is 1003.1003 (user.group) > > > > NFS partition is mounted and I can access it from centos as backuppc > > user, (su backuppc) > > > > Any idea ??? > > > > Thank you > > -- > > Claude Gélinas agr > > Phyto Ressources Inc. > > > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > BackupPC-users mailing list > > [email protected] > > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > > Wiki: http://backuppc.wiki.sourceforge.net > > Project: http://backuppc.sourceforge.net/ > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
