Adding site using API failed

Discussion in 'Developers' Forum' started by danield, Jul 3, 2016.

  1. danield

    danield New Member

    Hi all,
    just tested the new API with ISPConfig 3.1b2 and found the following issue:
    With the old SOAP API I was used to create a new website by: sites_web_domain_add( $session_id, $client_id, $ispcparams, $readonly ).
    I used the same function with the new API. Site gets created (I can see them in the ispconfig panel), but no nginx site blocks get created. Noticed that Document Root and Linux User & Group are not set, for sites created by the API. Does that mean that this has to be set manually, using the API?

    Thanks
     
  2. danield

    danield New Member

    Seems that no Linux user is created too. What I'm doing wrong, or is it a bug?
     
  3. danield

    danield New Member

    Tried everything, but cannot set up a new site with the new API. Till, or everyone else, any idea?
     
  4. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    other recent messages in the forums here have indicated the api is not ready in 3.1. you could either wait or probably help identify/work through the issues with the developers if you want.
     
  5. freeline

    freeline New Member

    I think I fixed that, see my post from today

    Volker
     
  6. danield

    danield New Member

    Hi Volker,

    thank you for the info.

    Seems that the issue has been fixed with git issue #4022.

    Kind regards,
    Daniel
     

Share This Page