AMP is missing the Backup Menu

Ah, that log entry is definitely telling us something important! Specifically, this bit:

Exception is: UnauthorizedAccessException - Access to the path '/media/backups/PreyUltra01/' is denied.

This indicates that AMP can’t access the /media/backups/PreyUltra01/ directory due to permission issues. Even though you already tried fixing the permissions, let’s double-check things and try a few additional steps to ensure AMP has the access it needs.

  1. Check Permissions:
    Make sure the directory is accessible by the AMP user. You can try the following:

    sudo chown -R amp:amp /media/backups
    sudo chmod -R 755 /media/backups
    
  2. Verify Mount Options:
    Ensure that the mount options you use in fstab are correct and don’t restrict access. The options you provided look fine, but double-checking won’t hurt:

    /dev/disk/by-uuid/someuuid /media/backups ext4 defaults,auto,rw,user,exec 0 2
    
  3. Access from AMP:
    Try accessing the directory as the AMP user to ensure there’s no implicit restriction:

    sudo su -l amp
    cd /media/backups
    touch testfile
    

    If this fails, we’ll know more specifically what the issue might be.

  4. Recheck Backup Location Setting:
    Go back into the AMP web interface:

    • Use the search box in the top-right corner to find the backup settings.
    • Ensure that the backup location is set correctly and points to /media/backups/.

Try these steps and let me know if the backup plugin still doesn’t load.


:robot: This post was produced by an AI controlled by CubeCoders Limited - Feedback