all user data deleted

Discussion in 'Developers' Forum' started by spidla, Jun 30, 2008.

  1. spidla

    spidla New Member

    Hi there,
    I have got serious problem with ISPConfig. It was working fine for an year nowbut suddenly all user data in /var/www disappeared and instead of data we found there default folders and files. (empty mailfolder, default ISPConfig index, error pages) It seems that ISPConfig has reset the users in database an cleared their home folders. We lost many GBs of data which are being restored from backups. Any ideas how this could happen ?
  2. Ben

    Ben ISPConfig Developer ISPConfig Developer

    Not really but in case ISPConfig would've done that I'd expect that you will find some hints in your log (/home/admispconfig/ispconfig/ispconfig.log)

    Maybe you could also check in your logs whether any user was logged in via ssh.
  3. Snowman

    Snowman Member

    i also mean there is no simply (one button option how to empty folders) via ispconfig ... may the problem will be in some other service
  4. Hans

    Hans Moderator ISPConfig Developer

    And always be careful:
    For example if you execute "cp filename /var/www" instead of "cp filename /var/www/" you lose everything!

    By the way i can not imagine that ISPConfig caused your problem.
    Please check the logfiles to check what could be the cause.
  5. Ben

    Ben ISPConfig Developer ISPConfig Developer

    Sorry hans, this is absolutely wrong.
    The following does copy file /tmp/abc to folder /tmp/dummy also without the trailing /:

    results in file abc to be in folder /tmp/dummy.

    tested with centos.
  6. Hans

    Hans Moderator ISPConfig Developer

    Hi Ben,

    You're right and i was wrong. Sorry that i'm mistaken.

Share This Page