Ownership errors

Discussion in 'Installation/Configuration' started by Kyrill, Dec 23, 2024 at 2:33 PM.

  1. Kyrill

    Kyrill New Member

    Hello, I used the migration tool to move my ISPConfig 3 server to a new machine but the monitor page is not refreshing, backups are not being created etc.

    A few days ago I run
    php cron_debug.php --cronjob=500-back
    and got the following:

    Code:
    Sat Dec 21 12:07:02 UTC 2024 PHP Warning:  chown(): Operation not permitted in /usr/local/ispconfig/server/lib/classes/backup.inc.php on line 2213
    Sat Dec 21 12:07:02 UTC 2024 PHP Warning:  chgrp(): Operation not permitted in /usr/local/ispconfig/server/lib/classes/backup.inc.php on line 2214
    Sat Dec 21 12:07:13 UTC 2024 PHP Warning:  Undefined variable $unmounted in /usr/local/ispconfig/server/lib/classes/system.inc.php on line 2067
    I also tried
    tail -f /var/log/ispconfig/cron.log
    and it seems to be running fine:

    Code:
    Mon Dec 23 13:20:01 UTC 2024 finished server.php.
    Mon Dec 23 13:21:01 UTC 2024 finished server.php.
    Mon Dec 23 13:22:01 UTC 2024 finished server.php.
    Mon Dec 23 13:23:02 UTC 2024 finished server.php.
    I tried to force an update to reinstall ISPConfig but the backup creation failed for chown and chgrp permission errors as well and I did not continue with the process.

    Any idea on how to troubleshoot this?

    EDIT: I should add that the security and server directories in /usr/local/ispconfig belong to root:root while the interface belongs to ispconfig:ispconfig, is that correct?
     
    Last edited: Dec 23, 2024 at 3:01 PM
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Most likely, you use external storage for backups, but this external storage does not permit ISPConfig to change the owner of the backup directory. The chown error is uncritical unless the storage is not writable at all, which would explain why the backups fail.
     
  3. Kyrill

    Kyrill New Member

    Yes the backup storage is external, would setting the owner to ispconfig fix the issue?
    But even if that is the case with the backups why is nothing on the control panel updating?
    For example in the server load tab i still get "Server online since: 0 days, 0:01 hours" even though the server has been online for a few days.
     
    Last edited: Dec 23, 2024 at 9:19 PM
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    I think.you may try to overwrite by force updating ISPConfig, as it will normally assign all ISPConfig folders and files the right ownership.

    Otherwise, you might have some other errors and doing what in Please Readme Before Posting might also help.
     

Share This Page