Koozali.org: home of the SME Server

migratehelper error

Offline redteo

  • *
  • 122
  • +0/-0
    • redteo blog
migratehelper error
« on: May 22, 2021, 07:13:54 PM »
hello im experimentin the migratehelper script as is whitouth exclusion or inclusion and i always get a tar error. there is the output..

Code: [Select]
/var/lib/denyhosts/hosts-valid
/var/lib/denyhosts/users-valid
/var/lib/denyhosts/allowed-hosts
/var/lib/denyhosts/suspicious-logins
/var/lib/denyhosts/users-invalid
/var/lib/denyhosts/offset
/var/lib/denyhosts/hosts-restricted
/var/lib/denyhosts/users-hosts
/etc/hosts.deny_ssh
/etc/hosts.deny_ssh.purge.bak
tar: apf.conf: Cannot stat: No such file or directory
tar: badips.conf: Cannot stat: No such file or directory
tar: badips.py: Cannot stat: No such file or directory
tar: badips.pyc: Cannot stat: No such file or directory
tar: badips.pyo: Cannot stat: No such file or directory
tar: blocklist_de.conf: Cannot stat: No such file or directory
tar: cloudflare.conf: Cannot stat: No such file or directory
tar: complain.conf: Cannot stat: No such file or directory
tar: dshield.conf: Cannot stat: No such file or directory
tar: dummy.conf: Cannot stat: No such file or directory
tar: firewallcmd-allports.conf: Cannot stat: No such file or directory
tar: firewallcmd-ipset.conf: Cannot stat: No such file or directory
tar: firewallcmd-multiport.conf: Cannot stat: No such file or directory
tar: firewallcmd-new.conf: Cannot stat: No such file or directory
tar: firewallcmd-rich-logging.conf: Cannot stat: No such file or directory
tar: firewallcmd-rich-rules.conf: Cannot stat: No such file or directory
tar: hostsdeny.conf: Cannot stat: No such file or directory
tar: iptables-allports.conf: Cannot stat: No such file or directory
tar: iptables-common.conf: Cannot stat: No such file or directory
tar: iptables.conf: Cannot stat: No such file or directory
tar: iptables-ipset-proto4.conf: Cannot stat: No such file or directory
tar: iptables-ipset-proto6-allports.conf: Cannot stat: No such file or directory
tar: iptables-ipset-proto6.conf: Cannot stat: No such file or directory
tar: iptables-multiport.conf: Cannot stat: No such file or directory
tar: iptables-multiport-log.conf: Cannot stat: No such file or directory
tar: iptables-new.conf: Cannot stat: No such file or directory
tar: iptables-xt_recent-echo.conf: Cannot stat: No such file or directory
tar: mail-buffered.conf: Cannot stat: No such file or directory
tar: mail.conf: Cannot stat: No such file or directory
tar: mail-whois-common.conf: Cannot stat: No such file or directory
tar: mail-whois.conf: Cannot stat: No such file or directory
tar: mail-whois-lines.conf: Cannot stat: No such file or directory
tar: mynetwatchman.conf: Cannot stat: No such file or directory
tar: nftables-allports.conf: Cannot stat: No such file or directory
tar: nftables-common.conf: Cannot stat: No such file or directory
tar: nftables-multiport.conf: Cannot stat: No such file or directory
tar: npf.conf: Cannot stat: No such file or directory
tar: nsupdate.conf: Cannot stat: No such file or directory
tar: route.conf: Cannot stat: No such file or directory
tar: sendmail-buffered.conf: Cannot stat: No such file or directory
tar: sendmail-common.conf: Cannot stat: No such file or directory
tar: sendmail.conf: Cannot stat: No such file or directory
tar: sendmail-geoip-lines.conf: Cannot stat: No such file or directory
tar: sendmail-whois.conf: Cannot stat: No such file or directory
tar: sendmail-whois-ipjailmatches.conf: Cannot stat: No such file or directory
tar: sendmail-whois-ipmatches.conf: Cannot stat: No such file or directory
tar: sendmail-whois-lines.conf: Cannot stat: No such file or directory
tar: sendmail-whois-matches.conf: Cannot stat: No such file or directory
tar: shorewall.conf: Cannot stat: No such file or directory
tar: shorewall-ipset-proto6.conf: Cannot stat: No such file or directory
tar: smeserver-iptables.conf: Cannot stat: No such file or directory
tar: smeserver-sendmail.conf: Cannot stat: No such file or directory
tar: smtp.py: Cannot stat: No such file or directory
tar: smtp.pyc: Cannot stat: No such file or directory
tar: smtp.pyo: Cannot stat: No such file or directory
tar: symbiosis-blacklist-allports.conf: Cannot stat: No such file or directory
tar: xarf-login-attack.conf: Cannot stat: No such file or directory
tar: 3proxy.conf: Cannot stat: No such file or directory
tar: apache-auth.conf: Cannot stat: No such file or directory
tar: apache-auth.local: Cannot stat: No such file or directory
tar: apache-badbots.conf: Cannot stat: No such file or directory
tar: apache-botsearch.conf: Cannot stat: No such file or directory
tar: apache-common.conf: Cannot stat: No such file or directory
tar: apache-fakegooglebot.conf: Cannot stat: No such file or directory
tar: apache-modsecurity.conf: Cannot stat: No such file or directory
tar: apache-nohome.conf: Cannot stat: No such file or directory
tar: apache-noscript.conf: Cannot stat: No such file or directory
tar: apache-overflows.conf: Cannot stat: No such file or directory
tar: apache-pass.conf: Cannot stat: No such file or directory
tar: apache-scan.conf: Cannot stat: No such file or directory
tar: apache-shellshock.conf: Cannot stat: No such file or directory
tar: apache-xmlrpc.conf: Cannot stat: No such file or directory
tar: assp.conf: Cannot stat: No such file or directory
tar: asterisk.conf: Cannot stat: No such file or directory
tar: botsearch-common.conf: Cannot stat: No such file or directory
tar: common.conf: Cannot stat: No such file or directory
tar: counter-strike.conf: Cannot stat: No such file or directory
tar: courier-auth.conf: Cannot stat: No such file or directory
tar: courier-smtp.conf: Cannot stat: No such file or directory
tar: cyrus-imap.conf: Cannot stat: No such file or directory
tar: directadmin.conf: Cannot stat: No such file or directory
tar: dovecot.conf: Cannot stat: No such file or directory
tar: dropbear.conf: Cannot stat: No such file or directory
tar: drupal-auth.conf: Cannot stat: No such file or directory
tar: ejabberd-auth.conf: Cannot stat: No such file or directory
tar: exim-common.conf: Cannot stat: No such file or directory
tar: exim.conf: Cannot stat: No such file or directory
tar: exim-spam.conf: Cannot stat: No such file or directory
tar: freeswitch.conf: Cannot stat: No such file or directory
tar: froxlor-auth.conf: Cannot stat: No such file or directory
tar: groupoffice.conf: Cannot stat: No such file or directory
tar: gssftpd.conf: Cannot stat: No such file or directory
tar: guacamole.conf: Cannot stat: No such file or directory
tar: haproxy-http-auth.conf: Cannot stat: No such file or directory
tar: horde.conf: Cannot stat: No such file or directory
tar: ignorecommands: Cannot stat: No such file or directory
tar: kerio.conf: Cannot stat: No such file or directory
tar: lemonldap-ng.conf: Cannot stat: No such file or directory
tar: lighttpd-auth.conf: Cannot stat: No such file or directory
tar: mongodb-auth.conf: Cannot stat: No such file or directory
tar: monit.conf: Cannot stat: No such file or directory
tar: murmur.conf: Cannot stat: No such file or directory
tar: mysqld-auth.conf: Cannot stat: No such file or directory
tar: nagios.conf: Cannot stat: No such file or directory
tar: named-refused.conf: Cannot stat: No such file or directory
tar: nginx-botsearch.conf: Cannot stat: No such file or directory
tar: nginx-http-auth.conf: Cannot stat: No such file or directory
tar: nginx-limit-req.conf: Cannot stat: No such file or directory
tar: nsd.conf: Cannot stat: No such file or directory
tar: openhab.conf: Cannot stat: No such file or directory
tar: openwebmail.conf: Cannot stat: No such file or directory
tar: oracleims.conf: Cannot stat: No such file or directory
tar: pam-generic.conf: Cannot stat: No such file or directory
tar: perdition.conf: Cannot stat: No such file or directory
tar: php-url-fopen.conf: Cannot stat: No such file or directory
tar: portsentry.conf: Cannot stat: No such file or directory
tar: postfix.conf: Cannot stat: No such file or directory
tar: postfix-rbl.conf: Cannot stat: No such file or directory
tar: postfix-sasl.conf: Cannot stat: No such file or directory
tar: proftpd.conf: Cannot stat: No such file or directory
tar: pure-ftpd.conf: Cannot stat: No such file or directory
tar: qmail.conf: Cannot stat: No such file or directory
tar: qpsmtpd.conf: Cannot stat: No such file or directory
tar: recidive.conf: Cannot stat: No such file or directory
tar: roundcube-auth.conf: Cannot stat: No such file or directory
tar: screensharingd.conf: Cannot stat: No such file or directory
tar: selinux-common.conf: Cannot stat: No such file or directory
tar: selinux-ssh.conf: Cannot stat: No such file or directory
tar: sendmail-auth.conf: Cannot stat: No such file or directory
tar: sendmail-reject.conf: Cannot stat: No such file or directory
tar: sieve.conf: Cannot stat: No such file or directory
tar: slapd.conf: Cannot stat: No such file or directory
tar: sogo-auth.conf: Cannot stat: No such file or directory
tar: solid-pop3d.conf: Cannot stat: No such file or directory
tar: squid.conf: Cannot stat: No such file or directory
tar: squirrelmail.conf: Cannot stat: No such file or directory
tar: sshd.conf: Cannot stat: No such file or directory
tar: sshd-ddos.conf: Cannot stat: No such file or directory
tar: stunnel.conf: Cannot stat: No such file or directory
tar: suhosin.conf: Cannot stat: No such file or directory
tar: tine20.conf: Cannot stat: No such file or directory
tar: uwimap-auth.conf: Cannot stat: No such file or directory
tar: vsftpd.conf: Cannot stat: No such file or directory
tar: webmin-auth.conf: Cannot stat: No such file or directory
tar: wordpress-hard.conf: Cannot stat: No such file or directory
tar: wordpress-soft.conf: Cannot stat: No such file or directory
tar: wuftpd.conf: Cannot stat: No such file or directory
tar: xinetd-fail.conf: Cannot stat: No such file or directory
/etc/dehydrated/
/etc/dehydrated/config
/etc/dehydrated/hooks_deploy_cert.d/
/etc/dehydrated/hooks_deploy_cert.d/10httpd.sh.sample
/etc/dehydrated/certs/
------------8<------------------------------------------
/etc/dehydrated/hooks_clean_challenge.d/
/etc/dehydrated/domains.txt
/etc/dehydrated/chains/
/etc/dehydrated/accounts/
/etc/dehydrated/accounts/aHR0cHM6Ly9hY21lLXYwMi5hcGkubGV0c2VuY3J5cHQub3JnL2RpcmVjdG9yeQo/
/etc/dehydrated/accounts/aHR0cHM6Ly9hY21lLXYwMi5hcGkubGV0c2VuY3J5cHQub3JnL2RpcmVjdG9yeQo/account_key.pem
/etc/dehydrated/accounts/aHR0cHM6Ly9hY21lLXYwMi5hcGkubGV0c2VuY3J5cHQub3JnL2RpcmVjdG9yeQo/account_id.json
/etc/dehydrated/accounts/aHR0cHM6Ly9hY21lLXYwMi5hcGkubGV0c2VuY3J5cHQub3JnL2RpcmVjdG9yeQo/registration_info.json
/etc/dehydrated/accounts/aHR0cHM6Ly9hY21lLXN0YWdpbmctdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvZGlyZWN0b3J5Cg/
/etc/dehydrated/accounts/aHR0cHM6Ly9hY21lLXN0YWdpbmctdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvZGlyZWN0b3J5Cg/account_key.pem
/etc/dehydrated/accounts/aHR0cHM6Ly9hY21lLXN0YWdpbmctdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvZGlyZWN0b3J5Cg/account_id.json
/etc/dehydrated/accounts/aHR0cHM6Ly9hY21lLXN0YWdpbmctdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvZGlyZWN0b3J5Cg/registration_info.json
/var/lib/sme9admin/
/var/lib/sme9admin/afp.rrd
/var/lib/sme9admin/sessions.rrd
/var/lib/sme9admin/httpd.rrd
/var/lib/sme9admin/net.rrd
/var/lib/sme9admin/squid.rrd
/var/lib/sme9admin/if_ext.rrd
/var/lib/sme9admin/qpsmtpd.rrd
/var/lib/sme9admin/qmail.rrd
/var/lib/sme9admin/sensors.rrd
/var/lib/sme9admin/altqmail.rrd
/var/lib/sme9admin/cpu.rrd
/var/lib/sme9admin/if_loc.rrd
/var/lib/sme9admin/hd.rrd
/var/lib/sme9admin/sadc.bck
/var/lib/sme9admin/samba.rrd
/var/lib/sme9admin/mem.rrd
tar: Exiting with failure status due to previous errors


can some one help me to undertend. witch change i need to do in order to obtain a usable archive.
thanks.

Online Jean-Philippe Pialasse

  • *
  • 2,744
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: migratehelper error
« Reply #1 on: May 23, 2021, 12:31:06 AM »
as soon as thereis a file not stat. ie not found tar will end up with an error but will create an archive with all that is listed without error. 


take the time to review the list but you should be fine.  ideally we could add mire conditions to avoid this situation thanks to reports like you did.


Online Jean-Philippe Pialasse

  • *
  • 2,744
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: migratehelper error
« Reply #2 on: May 23, 2021, 12:33:13 AM »
oh there is a bug.

fail2ban files are added with relative path. without the directory they are in.