Jump to content
Froxlor Forum

kingsley ezenwa

Members
  • Content Count

    116
  • Joined

  • Last visited

Everything posted by kingsley ezenwa

  1. kingsley ezenwa

    Does FROXLOR have OR Support

    Hi I opened this thread so all related Questions by me would SIT in one place. No need opening many threads for similar questions
  2. kingsley ezenwa

    Does FROXLOR have OR Support

    Is it possible to create TCP Sockets for every Customer ? I understand it's done for security reasons BUT just asking if it's possible OR what dangers would occur if a Single TCP Socket connection is used.
  3. kingsley ezenwa

    Migration from syscp

    If the accounts are not so much (Less than 25), why not manually recreate them so as to start on a very clean slate. Don't really know BUT you seem to love Older Unsupported Software versions. PHP5.6 is almost dropped if not dropped already. Why not move up to PHP 7.0 or if you have very old scripts on your websites, then install both 5.6 and 7.0 OR 7.2 . As for SYSCP, never used or saw it, only heard about it. Scripts such at such an Age are meant to be kept ar Museums, not to be used in Today's environment.
  4. kingsley ezenwa

    Does FROXLOR have OR Support

    Hi Am here once again, Any Idea how to configure FROXLOR to use TCP Socket to connect PHP-FPM rather than Unix Socket ? Once tried using port 9000 BUT that failed to work (I probably wasn't doing something right). By default, FROXLOR uses a UNIX Socket which isn't so good if you need to support lot's of concurrent connections . Am doing this in a bid to see what causes PHP7.2-FPM consume lot's of resources . Thanks
  5. kingsley ezenwa

    Does FROXLOR have OR Support

    Noticed something Weird. For a while now, have been having issues with one of my server so much I had to upgrade to a Server with 8GB of Ram from my previous 4GB ram yet I have to do restarts every 2-days and sometimes every day else it becomes UnResponsive websites begin to display 502 Bad gateway, and sometimes 504 Gateway timeout,. Other times, websites becomes so slow I have to restart the Server before everything returns to Normal. Before I do Restarts, I always notice Ram Usage is very High (almost 98% and sometimes 100% used). Recently, I realized I don't really have to Restart the Server, clicking on Rebuild config files (url looks like this http://example.com/cpanel/admin_settings.php?page=rebuildconfigs&s=q1w2e3r4t5y6uu7i8) is enough to get the Ram Usage back to normal (about 15%) and all Websites Functioning as Normal. In other word, Clicking on Rebuild config files has same effect as Restarting the Server. So am bringing this Up to know if there's any other thing FROXLOR does other than generating Config Files . Issue has been going on for over 3-months now and have forced me into moving from a 4GB ram server to 8GB ram server. Have even tried to Over Optimized MYSQL (which was my earlier suspicious) as much as I could yet no result. Thanks
  6. kingsley ezenwa

    Does FROXLOR have OR Support

    Hi Any idea what setting to enable (if it already exists) to stop creation of Logs here /var/customers/logs/ Or at least limit which domain/account gets to have logs created. Also how to conditionally enable and disable Access logs. I have already deactivated the log setting in the Settings Page yet can see no effect. Thanks
  7. kingsley ezenwa

    Does FROXLOR have OR Support

    What I meant is - How to adapt EXIM to working with FROXLOR. I want to replace POSTFIX with EXIM . Thanks
  8. kingsley ezenwa

    Does FROXLOR have OR Support

    Also I can see FROXLOR supports EXIM but has no configurations for it. Any Guide or insight on how to switch to EXIM on FROXLOR ?
  9. kingsley ezenwa

    Does FROXLOR have OR Support

    Okay Never knew I was supposed to contribute back the codes. Would lok into that. By the way, what editor do you use with GIT that makes you able to display comments about what changes you make. All I do is just make modifications and only make comments where need be BUT those would never be display on GIT. Was able to make use of GIT few days ago BUT just for Updating as I still make edits outside GIT.
  10. kingsley ezenwa

    Billing / Invoicing

    Anyone currently using a Billing or Invoicing on FROXLOR and how do you currently handle billings . Want to know if there are current implementations to avoid reinventing a wheel . Also Don't think so BUT are there any Billing/Invoicing Modules currently working with FROXLOR ? Thanks
  11. kingsley ezenwa

    Does FROXLOR have OR Support

    Hi Any Plan introducing / adding a billing module to FROXLOR ? Also a look at the Panel Plans database table shows just how basic it's implemented. Seems to me, have been added as an after thought. Want to assume most features using the information in this table already existed long before the table was added hence reason why it's implemented in such a way. Also a look at customers table panel_customers also shows how contents of panel_plans were added rather than referencing the table row ids. Working on adding/extending features whenever i have little time hence want to know if there's a RoadMap of what happens to FROXLOR and if there are plans to do certain things. Also the Date of termination: field added on the Edit domain Page seems not to either work correctly OR i don't understand it's purpose. A look at it tells me the domain should expire according to the date added there BUT what happens is that as soon as a value is entered, it immediately say (terminated as of 2020-02-14) so please kindly make me understand this isn't an error or that it is. Thanks
  12. Am sorry BUT the English in your Announcement seems Huge for me. I just want to confirm / ask one thing - Has the API FROXLOR version already been merged into the current Master in Github ? I can see 2 Main Branches - Master and 0.9.x . Does the current Master already contain version 0.10.0 which is the API version ? What's the difference between Master and 0.9.x . and which should we download if downloading from Github. In a simpler way, is version 0.10.0 now the new Master Branch ? Hoping to hear from you. Thanks
  13. kingsley ezenwa

    Feature-Wunsch zusätzlicher eMail-Haken für isPassTrough

    Any Idea if such a feature would be coming to FROXLOR ?
  14. kingsley ezenwa

    Feature-Wunsch zusätzlicher eMail-Haken für isPassTrough

    Might not really get what was discussed in here BUT for a while now, I wrote a short script that allows Customers use external Smart-Host (e.g GMAIL, MailChimp, etc) instead of Postfix. Did this so as to avoid constant blacklisting of my IPs. Would have loved to integrate it directly into FROXLOR rather than make it an entirely different Page BUT am having issues editing FROXLOR's template. Don't really know how to edit FROXLOR's template files.
  15. kingsley ezenwa

    SSL not working on FROXLOR api enabled version

    Before now, SSL has been working perfectly okay using FROXLOR but since upgrading to FROXLOR v0.10.0 , i noticed that though old domains already with SSL continues working, new domains registered for LetsEncrypt SSL under the new FROXLOR version isn't working with regards to SSL. Below is output of php /var/www/FROXLOR/scripts/froxlor_master_cronjob.php --letsencrypt --debug PHP Warning: Module 'apcu' already loaded in Unknown on line 0 [information] Updating Let's Encrypt certificates [information] Updating example.com [information] Adding SAN entry: example.com [information] Adding SAN entry: www.example.com [information] letsencrypt Using 'https://acme-v01.api.letsencrypt.org' to generate certificate [information] letsencrypt Using existing account key [information] letsencrypt Starting certificate generation process for domains [information] letsencrypt Requesting challenge for example.com [information] letsencrypt Sending signed request to /acme/new-authz [error] Could not get Let's Encrypt certificate for example.com: No challenges received for example.com. Whole response: {"type":"urn:acme:error:rateLimited","detail":"Error creating new authz :: too many failed authorizations recently: see https:\/\/letsencrypt.org\/docs\/rate-limits\/","status":429} Kindly do point me in the right direction if am making any mistake. Have compared the domain setting with those working with ssl and they are all same. Thanks
  16. kingsley ezenwa

    SSL not working on FROXLOR api enabled version

    okay so what you think might be the issue ? this is a domain that has been running without SSL for long and only decided to add SSL to it today .
  17. kingsley ezenwa

    Unable to Use Nginx Micro Cache

    Back in the days while doing Hostings without Control Panel, I was able to use NGINX with Micro Cache. Stopped laterafter moving on to ISPConfig 3 then FROXLOR . I now want to resume that again BUT am unable to get it to work with FROXLOR. Any idea how or why it isn't working would be greatly appreciated.
  18. kingsley ezenwa

    Unable to Use Nginx Micro Cache

    Hi Please kindly respond as Am almost there. Thanks
  19. kingsley ezenwa

    Unable to Use Nginx Micro Cache

    These are few suspects I think might be causing issues as they are totally different from normal vHosts without FROXLOR 1. fastcgi_pass localhost:9000; while FROXLOR generated vHost uses Sockets i.e fastcgi_pass unix:/var/run/1-user-example.com-php-fpm.socket; 2. Normal vHost .php location block is location ~ \.php$ { } While FROXLOR generated .php block is location ~ ^(.+?\.php)(/.*)?$ { } AND location @php { }
  20. kingsley ezenwa

    Unable to Use Nginx Micro Cache

    Finally, on a Working Server in production with MicroCahe enabled and without any Control Panel like FROXLOR, below is how the PHP Location block looks like location ~ \.php$ { #Cache everything by default set $no_cache 0; # If non GET/HEAD, don't cache & mark user as uncacheable for 1 second via cookie if ($request_method !~ ^(GET|HEAD)$) { set $no_cache "1"; } # Drop no cache cookie if need be # (for some reason, add_header fails if included in prior if-block) if ($no_cache = "1") { #add_header Set-Cookie "_mcnc=1; Max-Age=2; Path=/"; #add_header X-Microcachable "0"; } # Bypass cache if no-cache cookie is set if ($http_cookie ~* "_mcnc") { set $no_cache "1"; } #Don't cache if the URL contains a query string if ($query_string != ""){ set $no_cache 1; } # POST requests and urls with a query string should always go to PHP if ($request_method = POST) { set $no_cache 1; } # Don't use the cache for logged in users or recent commenters if ($http_cookie ~* "comment_author|wordpress_no_cache|wordpress_logged_in") { set $no_cache 1; } #Don't cache the following URLs if ($request_uri ~* "/(wp-login.php|wp-admin|login.php|backend|admin)"){ set $no_cache 1; } # Don't cache uris containing the following segments if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|/feed/|index.php|sitemap(_index)?.xml") { set $no_cache 1; } #Don't cache if there is a cookie called PHPSESSID if ($http_cookie ~* "PHPSESSID"){ set $no_cache 1; } #Don't cache if there is a cookie called wordpress_logged_in_[hash] if ($http_cookie ~* "wordpress_logged_in_"){ set $no_cache 1; } # Bypass cache if flag is set fastcgi_no_cache $no_cache; fastcgi_cache_bypass $no_cache; fastcgi_cache microcache; fastcgi_cache_valid 404 30m; fastcgi_cache_valid 200 301 302 304 20m; fastcgi_max_temp_file_size 1500M; fastcgi_cache_use_stale updating error timeout invalid_header http_500; fastcgi_pass_header Set-Cookie; fastcgi_pass_header Cookie; fastcgi_index index.php; fastcgi_pass localhost:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; #fastcgi_intercept_errors on; include fastcgi_params; } .
  21. kingsley ezenwa

    Unable to Use Nginx Micro Cache

    Also should anyone need NGINX micro cache for FROXLOR, am willing to put you through .
  22. kingsley ezenwa

    Unable to Use Nginx Micro Cache

    Currently, NGINX FastCGI_cache (aka Micro Cache) works with FROXLOR but had to place the codes in Server block rather than within the location ~ \.php$ {} block OR location @php$ {} block . And I want to assume you can't have more than 1 (one) location php$ {} blocks or is that possible. Also Is it even possible to place codes within the location ~ ^(.+?\.php)(/.*)?$ { block Also how is this file 207c8135c938fb25f460eac93b8d7fe3.htm generated ? Maybe I can look into it and do things in it directly. Am almost there as it's working though not just updating it's self as it should. location ~ ^(.+?\.php)(/.*)?$ { try_files /207c8135c938fb25f460eac93b8d7fe3.htm @php; <!--Can I place something here--> } location @php { try_files $1 = 404; include /etc/nginx/fastcgi_params; fastcgi_split_path_info ^(.+\.php)(/.+)\$; fastcgi_param SCRIPT_FILENAME $document_root$1; fastcgi_param PATH_INFO $2; fastcgi_pass unix:/var/run/1-user-example.com-php-fpm.socket; fastcgi_index index.php; }
  23. kingsley ezenwa

    Unable to Use Nginx Micro Cache

    Finally Got to make NGINX Micro Cacheing Work but am having a little issue making me ask this question Normally, while creating vHosts for website without using FROXLOR or anyControl Panel, Nginx php location block is location ~ \.php$ {} BUT vHosts created by FROXLOR use this location block location @php$ {} Wants to know if it's possible to change/swap these it even in the codes. That is because on a Server without any Control Panel, Creating vHosts manually for NGINX , the FastCGI cache for NGINX get's added under the location ~ \.php$ {} block . Currently, adding same code under the location @php$ {} block causes an error - probably 404 error OR Access Denied error and While it currently works being added in the Server Block, the Cache refuses to refresh even after expiring . When I look in cache directory, I can see new cache files created BUT still Old ones still gets served. The only solution at the moment is to manually delete cache folder and restart NGINX after which the websites updates.
  24. kingsley ezenwa

    What Frameworks do FROXLOR rely on

    I want to know what Frameworks were used in developing FROXLOR. Asking because am enhancing most of the sketchy features i implemented earlier and need to know a few things first. Want to know if a CSS framework was used and what name it is. Also want to know if a PHP framework was used and it's name and any other Frameworks and/or major Library that I might know of so I read up the documentation . Am asking all these because making direct modifications wasn't so easy especially working with the form fields and form submissions. Had to create separate pages entirely to be able to implement the things i did BUT going forward, want to do modifications directly.
  25. A drop down selection of Popular and regularly used Ones might be the solution BUT that introduces one more point of Failure if anything goes funny. And we want FROXLOR to remain light and Simple .
×