sudo apt-get update && sudo apt-get dist-upgradeon both droplets, both completed happily.
Thought I had set this up correctly but then gmail rejected my test email 2 days later.
Mailgun settings: Need to not use the mg. prefix
All of the other ones have it so not sure what I did there to make it work but this was a quick fix
DO Network: Put in the relevant Mailgun DNS
Mailgun Receiving Routes: need to set one up to forward the email address just set up to gmail
Optional: Sending from the address at gmail: this is where the SMTP settings come into play
This isn't technically on DO but my last website on nearlyfreespeech.
Looking at vaulters, it's TLS had expired. It had been warning me nightly but I thought the issue was on nearlyfreespeech's end. I first tried switching servers as vaulters was on an deprecated one. This didn't fix it and also killed PHP 5.6. I went to switch back but the oldest server didn't have 5.6.
To fix the TLS, I went into the CLI and just re-ran the Let's Encyrpt certificate generation. That worked and the TLS was fixed within ~30 seconds.
Now to fix the PHP version issue. The main page would load but the login page had lot's of PHP errors. I had never upgraded the site as the upgrader would always error out on me.
I downloaded a new version of wordpress on CLI and put it in a folder new. I figured I could copy over the site into /new and then switch it over to the live site once it was working. Wordpress installed into /new/wordpress so I was copying the files from /wordpress up into /new. Instead I copied into / , overwriting the original files. D:
Little did I know, this is exactly what I needed to do! It fixed the PHP errors and the login page loaded! I logged in and the menu was chaos but otherwise looked okay. I tried to redo the upgrade to grab the missing files in the Wordpress UI but I kept getting the error. I then tried it from the command line and it told me I was already up to date. Knowing some files were missing, I renamed wp-config folder and copied over everything from /new. That didn't fix the menu. I then did the same steps for wp-includes, and this fixed it!
It does look like all the installed plugins got disabled and the theme lost it's custom options though.
This has been going on since at least June. PHP needs to be restarted to get any changes to show up. Database stuff is fine. Wordpress sites have a lot of issues. enstars sever does not have this issue
Some how I had set opcache.validate_timestamps=0 in /etc/php/7.1/fpm/php.ini. I commented that back out to match enstars and actually got an error message on Wordpress!
It looks like I started doing this sometime in the past. The Homestead repo is there as well as the development domains in the hosts file. Not working when I try vagrant up though
Woo got it working today and feeding data to this page!
Using the Huzzah and not the Arduino at all
Getting temp, humidity, and pressure
Anemometer needs a separate setup as it needs a 9V Vin and outputs up to 2V analog which Huzzah cannot handle
My original setup was trying to reach this website's endpoint which is over https.
I tried to create some crazy work between but was encouraged to just do it the right way
The https library for the huzzah? wasn't bad at all and I was able to get it working.
[flesh this out]
Hunting down a https library
Pulling the needed code out of a more complicated example
Figuring out the sha
Success![add code here]
Built a quick GET endpoint to put data into the database from a URL with the parameters:
Following this tutorial https://learn.adafruit.com/adafruit-huzzah-esp8266-breakout/using-arduino-ide
I got the blinking light program to work but only after I pulled the USB out of the computer. I tried the same approach with the wifi test and there is no result in the serial monitor.
OK SO, it was using env() to read the email from the .env file BUT this doesn't work when things are cached which usually happens on production
SO I created a new config file enstars.php and created a mail address in there that reads from the .env file, this way even the cached ones know it
it is sending the emails out i see them in mailgun but only one has shown up in my mailbox so far??? Maybe this is some gmail rate limiting thing? cause one worked the next day
I don't think I did anything so why is this showing this.
I did break it when I
rm -rf *d my home directory. phpMyAdmin was living in the Code directory I deleted. I redownloaded it and followed the steps here: https://stackoverflow.com/questions/23788096/how-to-setup-phpmyadmin-on-a-laravel-homestead-box but it is not working still.
nginx -ttest if the config files have no errors
systemctl restart nginxrestarts nginx
I have a node js script (that isn't up to date on github) that is ripping text out of screenshots, sending them to google translate API, and then creating a JSON file
Current goal of getting all past orders into a database. Detoured in adding goods and updating Laravel versions.
I finally moved the wordcount UI off of my personal site, that has been on my todo list FOREVER!
And it's so much faster!
I looked into this project last night, and finally got a working concept tonight!
Steps of mostly failure:
Next step is to start automating things, image cropping, file running, and then saving the text!
$userteam->da = ''; $userteam->da + $userteam->da_2 + $userteam->da_3;
$userteam->da = 0; $userteam->da + $userteam->da_2 + $userteam->da_3;
After my week of broken environments, I get enstars back up and boom this error.
The PHP version of the live version is 5.6 while the new dev environment is 7.2
$allcards = ''; $allcards = $card;
$allcards = ; $allcards = $card;
It was 7.1 so 7.2 upgrade seems to have caused no issues! Excellent!
When I was going through my closet for moving I found my shoebox full of London things I had kept. I had always wanted to make a scrapbook with the things but I was terrible at finishing scrapbooks and then you had to actually physically hold the scrapbook to look at it so why not create a digital one!
I have not figured out where this project will live or how exactly I will do it but my first step is writing up my journal I kept of my London and Paris trip in 2003. I'm five pages in so far and it has involved a lot of wandering and being lost. I want to figure out the path we took and take pictures of all the random stuff I have saved, in the end creating some fun scrollytelling/data story webpage
I downloaded a CRUD template and was using that to build out the site. It's been so long though should probably just remake the same pattern I've been using.
My Macbook's keyboard deicded to all the way break on Tuesday night and I realized just HOW much time I spent on it. Working on projects, writing, reading, wasting reddit time, all on the Macbook! Even when I took breaks from my phone in Japan and NY I STILL had the Macbook there.
It's still mostly useable with an external keyboard and wireless mouse but I'm about to not have it at all for two days, What will I do???? Can I handle it???? I should be able to, being so depedant on one object I can break easily is not good.