Amazon S3/Cloud Storage: How to configure cron job and Sync data (images, fonts, css and js) to Amazon S3

    Before you start syning files to S3, you need to setup con job in your server: 

    Please Go to Admin dashboard --> System Admin --> Tasks to get the command line that you need to setup cronjob (see below screenshot). You can setup cron via cpanel or ssh. Contact your hosting if you don't know how to do that.  Normally, the command line will be "wget -qO- 'https://domain.com/cron/task/run?key=3FSE@' &> /dev/null . Send this command line to your hosting if you want to ask them help you.

     

     

    Sync missing images, fonts, css and js to Amazon S3


    If S3 is enable and you find out some resources like css, font...are missing like the below screenshot. Please follow the below instructions to fix.

     

     

    Go to admin dashboard --> System Admin --> Storage System --> Manage Storage Services. Click on "Synchronise webroot directory", and you willl see below popup.

    Check Image, font, Cascading style sheets, Javascript then check the folders under "Webroot" that you have not syned/transfered to S3 before.

    For example in the below picture you will tranfer files (images, fonts, css and js) in "img" and "js" folder to S3

     

     

    Click OK to start Sync progress. You need to wait for a few minutes or may a few hours incase you have a lot of files that need to upload from selected folders to S3. The cronjob that you setup above will do this job so that you can close the web browser after clicking on "OK" button to sync. 

    Tranfer data to S3: In the setting page you will see a button called "Transfer", please click on this button if you enable S3 after site have launched long time ago to manually transfer all data such image, video... that uploaded by members before s3 is anabled to amazon.

    Clear caches: If you have any problems after s3 is enable. Clear caches and then try again. 

    Hope it helps.

    Share
    0% users marked this FAQ as helpful. Is this FAQ helpful?

    Yes No

Comments (0)

No login

    Similar FAQ

  • How-to install mooSocial
  • How to translate or add new language to mooSocial?
  • How to translate / change closing network singup phrase on landing page?
  • How-to change site logo, favicon and open graph image
  • How to setup mail Queue
  • How to change header color on default theme?
  • How to create Google Developer key
  • How to fix issue can not get avatar from Facebook or G+ login
  • How to move your moosocial site to another server
  • How can i automatically become friends to everyone that signs up?
  • How to configure (change color, font....) of current active theme
  • How to setup Google+ login
  • How to configure paypal express checkout payment gateway
  • How to switch your mooSocial site from trial to full version?
  • How to change default cover for desktop site and mobile app
  • How to change your Brand name into Powered by at bottom of site
  • How to setup facebook login api
  • How to fix "You have exceeded your daily request quota for this API"