Blog

WordPress upgrade problems

There’s a lot going on. I Changed VPS hosts. I upgraded Ubuntu from 14 to 18, of course PHP and a slough of other shit. Then of course upgraded from WordPress 4.6 to 5.2. Been dealing with various random issues. Here are a couple from today. Installed LetsEncrypt and SSLd off my hosted sites.   1. LetsEncrypt WordPress Site This is pretty straight forward. Console in to your server and…

Reference Apache Commands

Here’s a list of Apache commands and operations.   Load & Unload Apache sites (Explicitly name the *.conf file if needed) a2ensite /etc/apache2/sites-available/* a2dissite /etc/apache2/sites-available/*   Recycle Apache (Compared to service apache2 restart init.d gives a return indication) /etc/init.d/httpd restart /etc/init.d/httpd start /etc/init.d/httpd stop   List all apache .conf apache2ctl -S  

How to export all DNS records

Quickly Move DNS. The answer is you can’t but don’t back button yet, it only takes a few steps. Let me explain. Some DNS stuff is inherent and other stuff is referenced. For that reason it can’t be discovered 3rd party. Things like A, MX and TXT records are inherent while sub-domains are referenced. Inherent records (my name for it) can be looked up using things like MXToolbox.com. Or dig a Nix command…

GoDaddy or NoDaddy

Full disclosure, I never recommend GoDaddy to anyone, EVER! I think they spend more on Superbowl commercials than infrastructure. Here’s a chat transcript with a GoDaddy Support Rep. I had an A Record configured and the IP kept resolving to a GoDaddy IP. In the end I was offered no explanation other than, GoDaddy hosts millions of sites and it isn’t their fault.   GoDaddy Rep:  Thank you for contacting…

Error occurred in deployment step ‘Recycle IIS Application Pool’: The local SharePoint server is not available.

For security and availability purposes we’ve moved away from using the SharePoint Farm account for development. Adding new devs to your farm can be pretty simple if you know what tools to use. Frist, I always add my devs to the local admin group. Second you need to run the following commands. This adds the domain user to the appropriate roles Get-SPDatabase | Where-Object {$_.WebApplication -like “SPAdministrationWebApplication”} | Add-SPShellAdmin domain\username…

Setup and Configure No-IP Solution for Azure Service Bus

NO-IP offers dynamic domain services, You can read more about dynamic domain services here. No-IP is free and you get three hostnames. You can upgrade to 25 hostnames for 20$ a year, its pretty cheap. Oh, and the free version you have to confirm your hostnames once a month. Sign-up 1. Go to NO-IP’s website and create an account. https://www.noip.com/sign-up (note: when I signed up I created my hostname) 2. Activate account. This has…

On Prim SQL to Azure Mobile Services Guide

This is not a guide, or a tutorial, this is my scratch pad for creating a hybrid cloud model that implements a 2-tier application model (Data Tier, Application Tier). This blog entry will evolve over time as the Azure tools evolve overt time. [3/14/15/] Overview Here’s a basic diagram of what I want to accomplish. <insert image diagram here> The key here is Azure Service Bus, before this you had to figure out how to ship the…

Connect On Primise SQL to Azure

With Azure Service Bus you can connect your on premise SQL to Azure Web Sites and the like. I haven’t had a chance to do this my self, keep looking for more posts related to Azure Service Bus. This is how you would configure hybrid model for resale. http://www.bradygaster.com/post/windowsazurewebsites-onprem-servicebus   This is how you would configure a hybrid model for single use http://azure.microsoft.com/en-us/documentation/articles/web-sites-hybrid-connection-get-started/

Azure Mobile Services .NET Backend – Error – The Model Backing…

Error – The model backing the ‘tableServiceContext’ context has changed since the database was created. Consider using Code First Migrations to update the database I’ve been beating Azure Mobile Services up for a while now. I have to say the product demoed well and the code samples looked pretty straight forward. After digging beyond the basic lit and branching into a project more useful than the ToDoItem demo. Side bar for a second, I’ve seen…