Want more timely Centmin Mod News Updates?
Become a Member

Sysadmin external server upload

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

  1. ahmed

    ahmed Active Member

    350
    48
    28
    Feb 21, 2017
    Ratings:
    +61
    Local Time:
    8:57 AM
    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

    45,656
    10,358
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,076
    Local Time:
    4:57 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
  3. ahmed

    ahmed Active Member

    350
    48
    28
    Feb 21, 2017
    Ratings:
    +61
    Local Time:
    8:57 AM
    Thanks a lot.

    The upload fails if it is not public
     
  4. ahmed

    ahmed Active Member

    350
    48
    28
    Feb 21, 2017
    Ratings:
    +61
    Local Time:
    8:57 AM
    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