Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 14 of 14
  1. #1
    Member
    Join Date
    May 2011
    Posts
    9

    Default cpanel3-skel files not copying

    I have set up some files in /root/cpanel3-skel/public_html. when I make a new account, nothing get put into the newly created addon except the cgi-bin dir. I feel like I'm missing something, probably something silly. I have tried with files owned by root and owned by account. I have also tried putting them in /home/username/cpanel3-skel/public_html, still nothing. Is there a limit on complexity of the skeleton? Any help is appreciated!

    Dan

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cpanel3-skel files not copying

    If you placed files here:
    /home/username/cpanel3-skel/public_html

    And that username is a reseller, and you were logged into WHM as that exact reseller when you created the new account, those files should have been copied properly.

    Same as for root. You must be logged in as root when creating the account and want skel files pulled in from root skel directory.

  3. #3
    Member
    Join Date
    May 2011
    Posts
    9

    Default Re: cpanel3-skel files not copying

    If I look under "show reseller accounts" in WHM the reeller column haas one entry, root. The second column, the user column, has the user I have been using, so it doesn't look like that user is a reseller and the source of my problem. Is that it?

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cpanel3-skel files not copying

    Any files in /root/cpanel3-skel/public_html should be placed into any new account owned and created by root. When you say the "newly created addon" are you talking about an addon domain? Addon domains will not have files put into them, only newly created accounts.

    Can you please detail how you are creating the account or is this an addon domain rather than a newly created account that is being discussed?
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Member
    Join Date
    May 2011
    Posts
    9

    Default Re: cpanel3-skel files not copying

    You just sorted it out for me. It IS an addon, and so no files. Is there any way to accomplish the same thing?

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cpanel3-skel files not copying

    You might create an addon domain hook that would copy files on addon domain creation:

    http://forums.cpanel.net/f5/modify-a...tml#post535629
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  7. #7
    Member
    Join Date
    May 2011
    Posts
    9

    Default Re: cpanel3-skel files not copying

    Thanks for the help. I should have posted a long time ago! I've noticed most of those scripts are written in perl. Can I write one in PHP, using CLI? thanks, again.

  8. #8
    Member
    Join Date
    May 2011
    Posts
    9

    Default Re: cpanel3-skel files not copying

    Never mind, I got off my butt and looked at the docs. Still, I believe I heard a collective sigh from forum moderators everywhere thanks again for the help.

  9. #9
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb Re: cpanel3-skel files not copying

    Quote Originally Posted by danmc View Post
    You just sorted it out for me. It IS an addon, and so no files. Is there any way to accomplish the same thing?
    There is an open Feature Request going on here:
    http://forums.cpanel.net/f145/case-4...ns-146569.html

  10. #10
    Member
    Join Date
    May 2011
    Posts
    9

    Default Re: cpanel3-skel files not copying

    The addon hook works great. In a way, it's even better, since I can do more than just have the files copied. In this case, I can set up the configuration files in the file set that's being copied with the custom settings specific to the domain being processed, as well as some other things. Thanks for the help and advice.

    Dan

  11. #11
    Member
    Join Date
    Jun 2011
    Posts
    10

    Default Re: cpanel3-skel files not copying

    Does anyone know how much you can put in this /root/cpanel3-skel/public_html directory? Like, could I add the whole Wordpress base installation since every account I add will use WordPress, then all I would have to is add the database, the database info to the config file and go ... or is that to much data to have in there?

  12. #12
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cpanel3-skel files not copying

    Sure you can do that. I would think you wouldn't want the installer to operate though and thats what would come up when the site is accessed right out of the gate of course.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  13. #13
    Member
    Join Date
    Jun 2011
    Posts
    10

    Default Re: cpanel3-skel files not copying

    Yeah, that's what I want as the sites I host are completely controlled by me on my vps for security, they are all wordpress sites, and if a user/site is created, i am there to finish the install immediately. I have tested it and it works great. I make a user for each account so there are no shared hosting spaces or addon domains for security purposes. If one site actually gets compromised, they should not be able to traverse to the other sites making cleanup a lot simpler. wp-config is not in a public directory and an un-signed ssl for administration for each site. The website owners do not have access to the cpanels, only to wordpress.

  14. #14
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cpanel3-skel files not copying

    Nice, good luck!
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

Similar Threads & Tags
Similar threads

  1. Replies: 10
    Last Post: 07-06-2009, 12:51 PM
  2. How to add files to root/cpanel3-skel
    By tommytx in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-10-2008, 07:06 AM
  3. Cpanel3-skel
    By master68 in forum New User Questions
    Replies: 5
    Last Post: 08-29-2006, 10:29 PM
  4. Cpanel3-skel files not copying :(
    By pkuk in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-24-2002, 01:23 PM
  5. cpanel3-skel dir and hidden files
    By techid in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-05-2002, 01:28 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube