It’s good to keep your WordPress instance up-to-date. But sometimes it doesn’t go to plan. Recently, this very instance got stuck in maintenance mode after an update.
It’s an easy fix! Logging into my cPanel, I found a .maintenance file in the root of my public_html folder where my WordPress instance is located. I deleted the file and voila, functioning, updated WordPress!
I ran into a fun problem today that let me put on my detective hat.
It began like any other request – straightforward and seemingly innocuous. “I can’t access this person’s file, can you help?”
Unfortunately it turned out that the supposed owner DIDN’T own the Google Drive file – a spreadsheet. Google has a few tips for locating the owner of a document – requesting ownership and then checking email logs and checking Google Drive logs. Unfortunately, neither worked! Drive logs require that the file be accessed or viewed within the last 180 days and the email log check did not work. Most likely because the owner no longer had a Mail license.
Without the owner information I fired up GAM and was hitting a wall until I thought of something. I asked and poked around and found the name of someone with access to the file. Using their name as the basis to check ownership / permissions, I got a full list! From there, I located the owner’s name.
Basically, I was unable to find the owner, but with the knowledge of at least one person with access, I was able to locate the owner that way using a GAM command along the lines of gam user X show drivefileacl Y – that did it!
This question comes up quite a lot on message boards, Reddit, etc. and the answer is simple – if you use Firefox Sync like a lot of us do, Firefox grabs the favicon for your bookmarks in the background to a service or server hosted in Amazon’s massive AWS ecosystem. That’s it!
I have an Ubuntu VM running in Hyper-V (or HyperV if you’re lazy) that I had to expand. I used the GUI in Hyper-V Manager to add some space first and rebooted my VM. After that I was able to utilize the new space by following these steps:
First, open Up Disks app and make sure your “VM” is seeing the free space
After that, open up terminal and install some cloud tools that’ll help us out.
sudo apt-get install cloud-guest-utils
After that, run this command to use all that sweet new space.
sudo growpart /dev/sda 1
That’s it! It grew to use all the free space and we were good to go.
A real hand-banger of an issue thanks to Microsoft’s love for hiding settings behind classic admin centers. After enabling Office for Web and OneDrive (or Sharepoint) for several users, they were unable to edit Office documents in Office Online / Office Web Apps via www.office.com. They didn’t even show up!
What Was Being Seen:
What Should Be Seen:
The resolution was classic Microsoft. After making sure that the users had the correct applications assigned, namely Office Apps for Web and either SharePoint or OneDrive, we had to navigate to the SharePoint Admin Center, click on Settings, and then classic settings.
Once there, the first option was the cause of our trouble. Make sure you don’t hide the icons!
Since being thrust into using GSuite / Google Workspace, I found the GAM tool on Github incredibly valuable.
We recently have a spear-phishing attack sent to a number of users in finance pretending to be the CFO. I was able to test and then remove all the emails from users mailboxes by using the following command:
gam all users delete threads query from:[xyz]@gmail.com doit