Want to subscribe to topics you're interested in?
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:52 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

    54,601
    12,225
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,794
    Local Time:
    9:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. ahmed

    ahmed Active Member

    361
    49
    28
    Feb 21, 2017
    Ratings:
    +63
    Local Time:
    1:52 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:52 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