trying to understand the staging site feature in SlickStack
- This topic is empty.
-
AuthorPosts
-
January 11, 2023 at 6:46 pm #3713
Charles
Guestcoming from here
Using SlickStack to Install an Optimized WordPress Automatically on Ubuntu 20.04
byu/cypherpvnk inselfhostedI am not sure understanding what staging does and the advantage or having it over the development subdomain? So it’s syncing all files from production -> staging (in which intervals?) BUT not auto syncing changes made on the staging site back to production? So I am safe to test changes like new plug-in installations on staging without having to worry it will affect my production site right?
January 11, 2023 at 7:01 pm #3715Cheryl
Guestyes SlickStack auto-syncs production to staging at a regular interval… you should be able to choose the interval in
ss-config
the idea is that you can use the staging site to briefly test new plugins or features without having to constantly ensure that it’s the same code as your prod site.
syncing from staging BACK to prod is still dicey in SlickStack… there is a shell script that can do this for you, but no PHP/WP Admin method yet.
and you should be VERY CAREFUL doing this regardless cuz it will overwrite your files and data so it’s not encouraged (for now)
January 11, 2023 at 8:38 pm #3716Catherine
GuestAlso note:
SlickStack only supports a single staging site subdomain, like:
staging.example.com
This cannot be customized or duplicated… no subdirectories, or multiple staging sites, and anything like that.
January 13, 2023 at 8:21 am #3721Lawrence
GuestCan I use some staging plugins with SlickStack like WP Staging or Updraft or TasteWP etc
March 5, 2023 at 10:32 am #4427William
GuestAutomatically syncing from staging back to production would be a very bad idea.
March 5, 2023 at 10:34 am #4428Isabella
GuestCan I use some staging plugins with SlickStack like WP Staging or Updraft or TasteWP etc
yup pretty much any staging plugin should also work with ss
March 5, 2023 at 10:40 am #4429Jonathan
GuestOnly heard of Taste WP now:
Looks pretty kickass but idk how it works for staging?
August 23, 2023 at 12:06 pm #7613Victoria
GuestSeptember 15, 2023 at 8:02 pm #8111Jacob
GuestHey, what if I didn’t enable staging during setup wizard but now I want to enable staging on my SlickStack server? thank you!
September 15, 2023 at 8:05 pm #8112Elijah
Guest@Jacob just edit your ss-config
STAGING_SITE
to betrue
and then reinstall SlickStack again usingss install
command.Be sure you pointed staging subdomain to your production server IP address first
September 15, 2023 at 8:05 pm #8113Mary
GuestDecember 20, 2023 at 6:00 am #10602Jacob
GuestJust a note:
After discussion and years of consideration, we have decided to not move forward with any sort of PHP-based script for pushing staging to production. It would simply require too much time and effort to maintain safely, and SlickStack just doesn’t really value staging sites that much anyways (our philosophy is that staging sites are for temporary testing of new features only, not long-term redesign projects).
We might also remove the bash script
ss-push-staging
… tba.More: https://slickstack.io/docs/pushing-staging-to-production
December 23, 2023 at 9:42 am #10718Carolyn
Guest@everyone if the SlickStack staging feature is too limited for you, just use WP Staging or other staging services for WordPress, works fine.
May 30, 2024 at 6:31 pm #25107Gabriel
GuestDoes this staging feature use a lot of resources?
June 5, 2024 at 10:37 am #25169Raymond
GuestDoes this staging feature use a lot of resources?
Disk space, no, because the staging site shares the
/uploads/
directory with production on SlickStack which makes things a lot easier.However on websites with very large databases, the staging site feature can be a bad idea on SlickStack, at least if you have
SS_SYNC_STAGING
set totrue
in your ss-config because this forces your server to dump the production database and then import to staging database every single day, which could take like 30+ minutes on large databases. During that process your server might have higher resource usage, so it’s not recommended for large sites.June 10, 2024 at 11:29 am #25212August 11, 2024 at 11:33 am #25934Catherine
GuestDecember 28, 2024 at 8:15 am #27155Mason
Guestcan you confirm… should I run
ss sync staging
in order to launch the staging site? or is the staging site already created during the ss-install sequence? -
AuthorPosts