Is It Possible To Convert a Client Into a Reseller?

Discussion in 'General' started by jtomelevage, Jul 21, 2019.

  1. jtomelevage

    jtomelevage New Member

    Hello,
    Is it possible to convert a client into a reseller?
    We setup a client already, his website is working, but now we need to change this client to a reseller. Do we have to delete the client and add them again as a reseller?
    Thanks for any suggestions.
     
  2. holykim

    holykim Member

    If you can access your database (e.g. phpmyadmin), simply change 'limit_client' to positive number (e.g. 5 = 5 clients) or set as '-1' (unlimited clients) in the table of 'client' in 'dbispconfig'.

    dbispconfig --> client --> find a client --> update limit_client value (e.g. -1)
    Current value of limit_client should '0' as only difference between client and reseller is this value. This make sense as reseller can have clients but client can't. Hope this helps.
     
    jtomelevage likes this.
  3. jtomelevage

    jtomelevage New Member

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Then redo the phpmyadmin installation steps from the tutorial.
     
  5. jtomelevage

    jtomelevage New Member

    I ran the apt-get install and phpmyadmin is installed under /usr/phpmyadmin. What steps specifically are you referring to?
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Are you sure about /usr/phpmyadmin? What operating system is running on that host?
    I believe on Debian and ubuntu phpmyadmin is not installed in /usr/phpmyadmin. Unless you installed it yourself not from Debian or Ubuntu repository.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Most likely you did not select yes when it asked you to configura apache. This will result in phpmyadmin being files added but you will not be able to access it. Try.

    a2enconf phpmyadmin

    and then restart apache2 to fix it.
     
  8. jtomelevage

    jtomelevage New Member

    Apologies, the path is actually /usr/share/phpmyadmin

    OS is Debian Stretch.

    I tried
    a2enconf phpmyadmin

    Code:
    ERROR: Conf phpmyadmin does not exist!
     
  9. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    What shows
    Code:
    apt-cache policy phpmyadmin
    And
    Code:
    ls -lh /etc/apache2/conf-available/phpmyadmin*
    ls -lh /etc/apache2/conf-enabled/phpmyadmin*
     
  10. jtomelevage

    jtomelevage New Member

    Output:
    Code:
    phpmyadmin:
      Installed: 4:4.6.6-4
      Candidate: 4:4.6.6-4
      Version table:
     *** 4:4.6.6-4 500
            500 http://mirrors.linode.com/debian stretch/main amd64 Packages
            100 /var/lib/dpkg/status
    
    Output:
    Code:
    ls: cannot access '/etc/apache2/conf-available/phpmyadmin*': No such file or directory
    ls: cannot access '/etc/apache2/conf-enabled/phpmyadmin*': No such file or directory
    
     
  11. jtomelevage

    jtomelevage New Member

    Any suggestions?
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    run:

    dpkg-reconfigure phpmyadmin

    and ensure that you select the apache config option correctly this time. an option is selected in apt by navigating to it with the arrow keys and then the option is activated by using the space bar of your keyboard.
     
  13. jtomelevage

    jtomelevage New Member

    Excellent! I can now access phpmyadmin. Thank you!

    Now back to my original issue: Changing a client into a reseller:

    I made this change via phpmyadmin and this worked. Thank you all!
     
    holykim likes this.

Share This Page