WordPress file permissions

Thanks to my host CloudAtCost, I had to rebuild this entire site.  Their “migrate to Cloud Pro” is a total joke and does not migrate anything.  It instead deletes the servers that you must rebuild from scratch!  I have lost years of posts, but I was able to recover some data.

Here is the correct file permissions for WordPress:

To set correct permissions you need to use these commands:

chown www-data:www-data -R *          # Let apache be owner
find . -type d -exec chmod 755 {} \;  # Change directory permissions rwxr-xr-x
find . -type f -exec chmod 644 {} \;  # Change file permissions rw-r--r--

Vortexbox – Google Music Plugin – No sound



I was able to setup the Google Music Plugin on my VortexBox and see all of my music in the browse nodes, but whenever I tried to play anything all I would get was ‘dead air’.

I saw the following error in the server log:

Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Commands::playlistJumpCommand]: [Can't call method "isa" on an undefined value at /usr/lib/perl5/vendor_perl/Slim/Player/Squeezebox.pm line 762.]

After looking around, I have stumbled across the solution to my issue:
To fix, first SSH into your VB and run the following command:

nano /usr/lib/perl5/vendor_perl/Slim/Player/ProtocolHandlers.pm

Now scroll down and find the “%protocolHandlers” section and add the following line of code:

https => qw(Slim::Player::Protocols::HTTP),

Now, save and exit the file. Restart your VortexBox and you should be all set.

Happy listening!