Get the most out of your Centmin Mod LEMP stack
Become a Member

Sysadmin external server upload

Discussion in 'System Administration' started by ahmed, Jul 25, 2020.

  1. ahmed

    ahmed Active Member

    361
    49
    28
    Feb 21, 2017
    Ratings:
    +63
    Local Time:
    1:20 PM
    Hello


    Im trying to implement gfuse to sync folder to the cloud bucket
    Cloud Storage FUSE  |  Google Cloud

    but seemed there are something preventing that from the CSF?

    the only way it works if I set the bucket access to public, any suggestion for that?
     
  2. eva2000

    eva2000 Administrator Staff Member

    49,762
    11,447
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,789
    Local Time:
    9:20 PM
    Nginx 1.21.x
    MariaDB 10.x
  3. ahmed

    ahmed Active Member

    361
    49
    28
    Feb 21, 2017
    Ratings:
    +63
    Local Time:
    1:20 PM
    Thanks a lot.

    The upload fails if it is not public
     
  4. ahmed

    ahmed Active Member

    361
    49
    28
    Feb 21, 2017
    Ratings:
    +63
    Local Time:
    1:20 PM
    since it communicates externally with public access I guess no need for any firewall tweaks I guess it is from google account setting will try later

    but plz how to convert this code to centmin?

    to make it autorun at the reboot

    source Google Storage and Wordpress. How to configure and store your uploads? | Robert Węglarek
    Code:
    Run  sudo nano /etc/fstab and put this in the end of the file:
    
    gcp-blog /var/www/html/wp-content/uploads gcsfuse rw,allow_other,dir_mode=777
    1
    gcp-blog /var/www/html/wp-content/uploads gcsfuse rw,allow_other,dir_mode=777