Unable to Create Directory Uploads/2018/06. Is Its Parent Directory Writable by the Server?
#one Tue, 05/08/2018 - 06:39
Virtualmin and file Permissions on /public_html
Hullo all, I am facing a problem which seems to exist a mutual but couldnt find the existent solution. I am lookin for couple of days on net to find the Solution without success. And then first of all, the State of affairs: I am using these components - VPS Ubuntu 16.04 LTE - Webmin version 1.81 - Virtualmin half dozen.03 . Virtualserver with FCGId fashion - PHP Version seven.1.7
Now the Problem When i create a virtual Server on virtualmin, it completes the installation without any Problems. Now i install a wordpress on /domicile/virtualservername/public_html and it runs so far fine. Now i desire to install some plugins etc in WP Backend and WP brings a windows and ask for FTP cresidentials. :-( Now i change the ownership from "virtaulservernam:virtualservername to "www-information" on /public_html directory recursive and see that i can update or install the Plugins without giving the ftp Access. Information technology works as it should be. i didnt made whatever changes on the directory public_html with root Access..
I put in user direction of "www-data" the name of Virtualserver every bit member of secondry grouping just it wont work. I also tried to alter php fashion to CGI and Apache but with aforementioned consequence.
Question: What could be wrong here ? it tin can not be the solution to alter Public_html directory with Buying of "www-information" cuz in this example the ftp user accept no permissions to write on the directory.
It would be nice if someone could give methe hint to fix the problem. regards nomi
#2 Tue, 05/08/2018 - 08:forty
Shouldn't change public_html to www-data at all. All files in user public_html should exist owned past the user, every bit is the default for virtualmin. When yous use wordpress to update itself or add plugins, information technology has to know how to access the public_html folder. Put in the user ftp details. If uneasy about allowing WP to ftp in, then download the plugin manually and FTP it to the public_html folder via an FTP program.
#3 Thu, 05/10/2018 - 06:10
And so in that location is nada wrong with this user Persmission. Not possible that this User which is created past virtualmin could take more rights ? I have put now the FTP Detaisl ins Wordpress config file to easily update and install on WP Backend and it works.
I made this mistake in an other Joomla installation and gave Joomla directory the www-data ownership. Now i changed the ownership to original User (recursiv) and now the folio is no more available ,it gives me Error 500. How can i set this Problem on virtualmin.
#4 Thu, 05/ten/2018 - xi:15
Welshman
After install of Wordpress you just need to go to "Limits and Validation - Validate Virtual Servers , and then choose the "Ready Permissions" tab, choose the domain to fix and run it. All files will and so exist endemic by the VS admin and not root and plugins etc will install without whatsoever ftp info required..
#five Thu, 05/10/2018 - fourteen:23
Joe
Virtualmin sets up VirtualHosts with suexec. Buying of web data should always be domainuser:domaingroup.
If yous install WordPress using the Install Scripts interface in Virtualmin, everything, including plugins, should Only Work. You shouldn't need to alter anything, y'all shouldn't need to upload anything manually, and y'all shouldn't need to configure FTP access in WordPress.
If you upload files via FTP or ssh as root, you will come across a lot of problems, and we don't recommend information technology. Login as the domain owner user when you're working on a domain, and most things will go the correct permissions by default. (Only, for WordPress, why non simply use the Install Script? Information technology's in the GPL version, and will do all the right things, and can notify you of updates and stuff.)
#6 Fri, 05/eleven/2018 - 01:53
Thanks for your hints. @Welshman: i have tried this option only nevertheless the same. WP asks till for ftp details. @Joe: I tried to install WP past using the install scripts but with the same result. WP asks till for the FTP Details even i used the pick "Fix Permissions"later on instlling the Wordpress. :-(
#7 Fri, 05/11/2018 - 03:49
Welshman
Expect at who really 'owns' the files in the directory. I usually upload WP via an sftp client and install the old fashioned way rather than a script installer, so all files vest to root, if I practice non fix permissions as I mentioned earlier I get the ftp credentials demand similar your getting.
Promise you lot sort it. Clear your browser cache while your at it. :) Never know your luck.
#8 Friday, 05/11/2018 - 05:17
This is the strange matter what i obersiving. The ownership ist all the fourth dimension domainuser:domaingroup on all the directories and files.
Now will endeavor to transfer the new WP by ftp, but i dont blieve it works.
Welshman
SFTP is more than secure, winscp.net costless client there for Windows, if your that manner like I am.
#10 Fri, 05/eleven/2018 - 05:32
Yes you are right. I am using only sftp. I worte in thread in short words.
#11 Fri, 05/11/2018 - 05:43
Now the conclusion or summary of the thread...
- Inverse the permissios from www-data to domainuser:domaingroup --> no success WP asks for FTP Details by installing or updating
- Fix the permissions past virtualmin: Validate Virtual Servers --> "Set up Permissions . no success WP asks for FTP Details by installing or updating
- Installed WP past Install scripts --> no success WP asks for FTP Details by installing or updating
- checked the directory with ls-50 /home/domainame/public_html/ all accept the permissions domainuser:domaingroupe
- Only possible to install Plugins or update to put FTP Details in WP Config file but feeling not well cauz of security issue.
- I use simply sftp Connection.
Loving Virtualmin more and more than.... :-(
#12 Fri, 05/11/2018 - 08:05
Hello
nomi,
when you installed WP from the Virtualmin script did you uninstall the previous WP?
Did y'all delete the previous database and create a new database?
Did you movement or delete any WP config files before trying to install from Virtualmin script?
If you attempted to over write or install over a cleaved WP, i believe you lot may create unexpected results.
I would suspect that the Virtualmin WP script is ane of the most widely used of the installers and should work out of the box.
Joe
#13 Friday, 05/11/2018 - 08:55
@Howdy,
I compeletly removed the sometime WP and database. No Import of any config files etc at all.
Ist there whatever style to find out the error within Virtualmin ?
#fourteen Friday, 05/11/2018 - 11:50
I think yous may need to "switch to virtualmin virtual servers admin" earlier running the Wordpress Installer script. I suspect you are running it as the top lever server/webmin admin or root user. This is a trouble i take encountered that produces similar bug sometimes.
Login as virtual server admin then run wp installer script and run into if file permissions are now correct.
#15 Fri, 05/11/2018 - 11:52
I recollect y'all may need to "switch to virtualmin virtual servers admin" before running the Wordpress Installer script. I suspect you are running it every bit the height lever server/webmin admin or root user. This is a trouble i have encountered that produces similar issues sometimes.
Login every bit "virtualmin virtual server" admin and then run wp installer script and see if file permissions are now correct.
#sixteen Sabbatum, 05/12/2018 - 05:30
Adamjedgar
Do yous hateful the loging with domainuser or there is an other Virtualmin damin login. I usually login with root admission to webmin/virtualmin. Could you please tell me how to creat the admin Account. I can but create an aditional admin for a specific Domain.
regards
mccloudmakenhaved1960.blogspot.com
Source: https://archive.virtualmin.com/node/57063
0 Response to "Unable to Create Directory Uploads/2018/06. Is Its Parent Directory Writable by the Server?"
Post a Comment