Deploy site, issue 3: add-logo-to-admin settings
-
I have 2 servers:
On one, with only private access, I do my development and testing.
The other one is public-facing.When I have ensured my development site’s new features are working well, I copy all of my files from one webroot to the other, then I do a database export from the staging server, change the site URL in all the .sql files using a search-and-replace method, then import the modified .sql to the production server.
This has caused a number of issues (which I will cover in separate posts).
Issue number 3 is:
the Add-Logo-To-Admin plugin.What happens, is when I copy all the files, there’s one file that fails to copy.
/webroot/site/wp-content/plugins/add-logo-to-admin/images/my_logo.png.
Why wont it copy?
Because, though all the other files wp uses belong to ME, this one file, for some reason, belongs to “daemon”.
So I sudo, to copy the file over. (which is a pain, because, there goes my “transfer script” that updates my production site).
But the graphic STILL won’t show up.
I’ve got to also chown+chgrp the file to “daemon”
A simple page-refresh later, and lo and behold, the graphic appears.I hope this helps someone else.
- The topic ‘Deploy site, issue 3: add-logo-to-admin settings’ is closed to new replies.