As spammer start flooding my users table with fake-accounts i startet to develop a command for laravel to run in a cron job for deleting all users which didnt verified their email within the last 24 hours.
Everytime i start an update of the whole project it takes hours to upload all the new updated files to my web server.
To avoid a massive downtime for the user without informing them about the status and displaying any errors i just touch a file within the project:
there i add a file called “down” and the site goes into “down-mode” – atfer i finished my work i rename the file to “down-” to bring up the site agein. I configured the Error 503 page to display a nicer version of the error.
Today i updated RolandRadio.net because i had some new packages i wanted to use. On my local Laravel instalation everything worked fine but after uploading the new changed files i got an error:
Error Class ‘Illuminate\Database\Grammar’ not found
I didn’t figured out how to fix this and suggested that it has soething to do with updates of laravel that occured during my development and so the local laravel version and the version on my webserver where different.
After uploading all the files again completely instead of only the different ones the website worked again. Maybe my FTP-Client has messed up some files. As the Upload of those files takes about 2,5 hours i should think about using GIT to avoid those long downtime and commit my changes more often to the GIT repository then.
I am rebuilding the whole RolandRadio-System. New Server, new radio automation software, new homepage, new functionality. New everything.
First we have bought a completely new radio automation hardware. Some nice “games-pc”. All this modern stuff like SSDs, HDMI, 8.1 soundcard and everything build in an very very old 19 inch full-metal rack-case from the late 90s. Heavy stuff but horrible fast. Running Windows 10 and mairList 6.2 Professional for the radio automation. And a new monitor, keyboard and mouse. Total cost for this setup? Roundabout 600 euros for the hardware and about 1400 euros for the software. 2000 euros in total.
Thats what i call a nice hobby 🙂 But hopefully this invest will help run RolandRadio for the next ten years or so. The old system runs 24/7 since 2013 and is still running, but the mainboard is weak and reboots are kind of gamble. So new hardware is needed.
I’ve set up the hardware a few days ago and today i temporarily installed mairlist, the license, imported the database of the old (and still running) RolandRadio and started to clean things up to have a nice and stable chiptune-radio-station.
Also i have tested the stream and set up a new beta streaming-mountpoint on streaming.rolandradio.net called rolandradio2020. My own streaming server is running since the beginning and I should also update this server and add some https-protocol to it. But that’s hopefully the last thing i will do on this project later thisor next year.
So thats it for the moment. If you want to participate in any way on RolandRadio i will be happy to hear from you,
At the moment i build a new rolandradio.net radio station annd also move the whole old radio station data and music files to a new server system.
as the old radio station server conatins a lot of music not fitting the concept of rolandradio.net i first migrated all data, converted the database into the new mairlist 6.2 format and after that deleted all unwanted sound-files from my drive. Now i am deleting the obsolete database entries. This takes horrible long. As the path of the drive changed the database-manager tries to detect the file, times out and deletes the entry in the database. Nearly two hours of wasted time 🙂
First i installed XAMP 64-bit-version from https://www.apachefriends.org/de/download.html This package installs a web-server and a database-server, so the basics to do some nice online development in a local environment. As said i only installed Apache, mySQL-Server and FakeMail. No TomCat, no Mailserver, no Statistics, no Perl, cause no other packages are needed for my Laravel and mySQL-Project. If i want to test mail functionality later on i will use a real external mail server to be sure everything works as expected.
Add your software to your environment path
After installing XAMP i added php and mysql to the environment path of my user, so i can start php and the mysql command on every path i will be in my terminal. That is needed to run laravel artisan and other php-based commands from the shell.
To do this type “path” in your Windows search and start the system settings to add more directories to your path:
Install Node.js and Composer
Next i installed the current 64 bit version of Node.js from https://nodejs.org/en/ without any extras, following with the Windows Version of Composer from https://getcomposer.org/download/ – First entry on this page is “Windows Installer”. Load the .exe and install Composer. Make sure Composer finds your PHP-Directory from XAMP, which should be c:\xampp\php\php.exe but may differ in your setup and depends on the directory you installed XAMP first. No options where installed with composer either. Check in your terminal shell if composer is available with the command composer-V
Now install Laravel by typing composer globalrequire laravel/installer on your shell in your home directory
and add %USERPROFILE%\AppData\Roaming\Composer\vendor\bin to your path. you can check your path with the command “PATH” and will get some like this result:
Create a new Laravel-Project
You can add a new project by typing laravel newprojectname but i prefer doing it on the IDE side, so i start up PHPSTORM and open a new Project. chose laravel/laravel as package, leave version on “default” to use latest Laravel version and just click create. Now wait some time and your first laravel project will be installed. This will take several minutes. Stay tuned. Don’ panic 🙂
After that PHPStorm asks if you want to install the npm dependencies. Yes you will. You can do it manual by typing npm install in your project directory. this also will take some time. oh, boy.
Finally check if everything is installed OK and start you laravel project by typing “php artisan serve” and check your localhost in your browser if there is a laravel page. you also will see the favicon served to your browser in the protcol of the laravel server
Oh yeah. Today i installed XAMPP into c:\xampp to work with a local environment at my Windows 10 Pro Computer. But instead of MySQL i wanted to use MongoDB.
After installing XAMPP i installed MongoDB Server Community Edition. First i tried to custom install the software at c:\mongodb but then the database service won’t start. So after messing around and trying to get it fixed i gave up and installed MongoDB with the default path into C:\Program Files\MongoDB Works perfect and the service is running without producing errors. I also downloaded MongoDB Compass Community Edition for having a nice visual database editor.
I have a nice but small workspace in my living room. It comes with a docking station for my surface, so my husband can also use the monitor, keyboard, mouse and headsets for home office use or support issues. So we connect our Microsoft Surfaces to that and everything is good. Also I run my CTC-3D-printer software on it, the Arduino IDE and other software I do not use for work but for private issues. Sometimes it happens, that I want to work on some nice projects but my husband is using the docking station and as I get older and older I really need a big monitor, a good mouse and a nice keyboard instead of the stuff the Surface comes with 🙂
So today I decided to get that old HP ProDesk 490 G2 MT from the cellar and throw it under my small little table, grab an old Fujitsu TFT-Display connect this ugly Microsoft Mouse and that horrible Microsoft ergonomic keyboard to put all together and install some nice Windows 10 to use this machine for my private hobbyish things to do.
The Hewlett Packard ProDesk 490 comes with 32 GB of RAM and a i7-4790 8-core-CPU running at 3.60 GHz, so that might be enough for my private things. Horrible what kind of hardware is sitting somewhere in the cellar in my house for years, waiting to be found and used again..
My desk at home. Surface, Docking-Station and the new “old” i7-System for my private Stuff.
So I’ve set it up and it hast Windows Server 2012 R2 on it and also Hyper V with two Containers. It was kind of a test-machine earlier I think and just got forgotten as my company moved from Dettingen to Reutlingen. Not bad for me now 🙂 I will install Windows 10 on it, but also Hyper V to run some containers with Linux or other OS for experimenting a bit. It has an internal 1 TB WD-SATA-Drive. I will upgrade this later to an SSD I think. But for now I am good with the system.
I showed Octoate my little 3D-printed Roland, the mascot of Roland Radio (http://www.rolandradio.net) and that i have had the idea to integrate a little Web-radio-Player into this guy. Octoate told me, that there is a project with not that many hardware needed to realise a streaming web-radio without any harm.
So today i asked him about the items and the sites he showed me at Revision 2018. I collect those information here and try to build this streaming radio to integrate it into my 3D-printed Roland. And that’s what Octoate told me: