Jump to content

Mich

Members
  • Posts

    40
  • Joined

  • Last visited

  • Days Won

    6

Mich last won the day on April 11

Mich had the most liked content!

2 Followers

About Mich

  • Birthday April 7

Recent Profile Visitors

370 profile views

Mich's Achievements

Contributor

Contributor (5/14)

  • Dedicated
  • Collaborator Rare
  • Conversation Starter
  • First Post
  • Reacting Well

Recent Badges

16

Reputation

  1. Currently, I'm using Cloudflare R2 quite extensively. There was a mention on the forum that streaming shouldn't be done on R2 as it's better suited for Cloudflare Stream. However, other users on the Cloudflare forum seem to suggest that streaming is not an issue and that you'll simply be charged the standard egress fees. In my opinion, for long-term use, the best approach might be to set up your own S3-compatible storage using something like MinIO. This does require some technical know-how and would probably be more justified for significant needs that warrant the investment in time and resources.
  2. I need to check this; I know the demo uses NGINX (you see it in the header), but it must be that NGINX is only used as a reverse proxy while Apache2 is also in use.
  3. Hello, Since S3 is a standard, I've never used Contabo's Object Storage. However, I wouldn't recommend it for CDN use. There are too many limitations for it to be advisable for that purpose. It's more suitable for backup use. Why do I say this? Please see the documentation here: Contabo Object Storage Limits. Bandwidth is limited and regularly adjusted. The default limit is 10 MByte/s (=80 Mbit/s). Please be aware that the actual bandwidth depends on various circumstances, e.g. personal internet connection speed. Number of S3 API requests are by default limited to 250 requests / second.
  4. This reminds me of a similar issue I've noticed and added to my list, but have not yet reported or published a fix on the forum. Please visit the following URL: https://www.kvs-demo.com/video/207/iron-maiden-the-final-frontier/ If you remove the slash at the end, it automatically adds it back. Now, try this on a KVS site other than the demo. If we remove the slash, it either leads to a 404 not found page or show homepage. I haven't investigated why yet, but I have tried it on a clean version of 6.2.1, and it still happens. Upon further investigation of the NGINX conf, I found some issues related to another problem. I will contact you directly about this :) In the meantime, I'm curious about your thoughts on the slash issue mentioned in this post.
  5. Hi, I strongly recommend setting up customized settings for Kernel Video Sharing sites using Cloudflare. While the default settings might work, they are not optimized for the best performance and security. Recently, improvements in IPV6 handling mean it is no longer necessary to disable it to avoid logging issues in the KVS admin panel. I am considering creating a tutorial covering all the necessary configurations, particularly concerning security, which requires careful attention, and performance, which usually involves simply checking the right boxes. However, I advise against using Rocket Loader as it can cause serious issues with JavaScript. If you opt for a simplistic approach and don't configure any specific settings, make sure your web server is configured to return the real IP address of the user. Failure to do this can lead to significant problems. You might find these guides helpful for configuring your server and whitelisting necessary IP addresses: Restoring Original Visitor IPs on Cloudflare: https://developers.cloudflare.com/support/troubleshooting/restoring-visitor-ips/restoring-original-visitor-ips/ Cloudflare IP Addresses: https://developers.cloudflare.com/fundamentals/concepts/cloudflare-ip-addresses/ KVS could potentially develop a plugin to automatically and quickly configure settings via the Cloudflare API for your zone, but it does not seem to be a priority for them at this time.
  6. Hello, I've responded to your query privately, but here's a brief overview for clarity. Unfortunately, I haven't had the chance to test S3 with KVS, and generally, I find S3 more expensive than the solutions I've developed. You might want to look into MinIO if you have the time and expertise. It could potentially offer a scalable alternative. Please keep me updated if you achieve significant results with it. Regarding video conversion, handling 100 to 1000 videos daily depends heavily on various factors such as video quality and your ffmpeg settings. Personally, I optimize for smaller file sizes without significantly sacrificing quality, which uses more CPU and takes more time. An opinion based on my experience where bandwidth costs outweigh processing time costs. While KVS is an application-level CMS and not a server solution, it would benefit from application-level load balancing features, such as setting request or bandwidth limits per server. This would add diversity and simplify management without too much complexity. As for server specs, KVS can run on almost any CPU as it is quite efficient. The major demand for resources usually stems from your custom plugins or poorly optimized themes. Even a basic server can handle significant traffic if you employ strict security rules and minimize resource-intensive admin panel activities. For example, during a very brief transitional phase when I had the worst possible server setup (0.5GHz 1vcore OpenVZ HDD mass storage with 1GB RAM, no swap capability), image generation was slow, yet the site still supported 40,000 monthly users. This was feasible due to KVS’s effective caching capabilities. There’s considerable debate regarding the use of SSD/NVME storage. From my perspective, such storage is vital not just for essential tasks but for overall performance enhancement, especially when you consider that media files, such as screenshots, will be stored in the same location as the CMS and can consume significant space with many videos. For session management, a strategic approach involves creating a RAM disk for PHP sessions and configuring PHP-FPM so that this RAM disk writes to the disk partition, ensuring no data loss during reboots. Regarding MYSQL/MariaDB, I've not needed to scale this myself. KVS still defaults to using MYISAM, which is faster but has significant drawbacks. If MYSQL becomes a bottleneck, you could revert to using an older version of Sphinx (the version supported by KVS, not the newer paid version), which requires manual setup but is effective for large-scale sites. I'm also working on a Docker project to set up a conversion server quickly, using the processing power of a robust CPU VPS. This project isn't complete or public yet, but you can follow its progress here. This setup allows for rapid deployment and integration with KVS to maximize performance efficiently. I hope this helps, and feel free to check back for updates on the conversion server project.
  7. I have a question and am unsure about something. Maybe you can help. Do we need to edit only include_footer_general.tpl, or are there other files to be modified, such as in the blocks? I have yet to update and check the new code responsible for reCAPTCHA. You have typo in post reCAPCTHA ==> reCAPTCHA
  8. Thank you for your message, I'm glad you found the script useful! It will also be updated soon with new features :)
  9. 6) Google reCAPTCHA plugin was renamed to "Captcha" and now also supports Cloudflare Turnstile captcha. Please note that activating Turnstile will require theme changes, we will highlight the needed changes in a forum post. Great news, glad to see this feature implemented! Where can we find the modifications needed for theme support for Turnstile?
  10. This is just my plan: https://github.com/users/MaximeMichaud/projects/2. I will fix the 404 error. Thank you.
  11. You can use my script, however, I do not recommend deploying KVS without prior experience in Linux administration, at least a solid foundation to understand a bit of the workings behind it. Also, my script does not handle the DNS part which you have to configure yourself. A & AAAA zones (if present). https://github.com/MaximeMichaud/KVS-install
  12. You have probably found the solution. Generally, a 502 Bad Gateway error with nginx in the context of KVS would likely mean that nginx is unable to access php-fpm. This could be temporary if the server lacks PHP workers or permanent if php-fpm is misconfigured in the web server configuration.
  13. You can use mine with Debian 12 : https://github.com/MaximeMichaud/KVS-install
  14. Great work ! [LOW] User login logs will now keep the full version of IPv6 addresses, previously they only kept the last part of them. Finally :) 21) Player GUI in admin panel will now allow changing playback speed. Thanks ! - [MEDIUM] Some feedback (typically spam) could not be sent, they resulted into errors displayed to users. This was good from one side, but could result in missing something important (since 6.1.0). This solve this ? : [SQL-1064]: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ERROR: INSERT INTO ktvs_feedbacks SET user_id='0', subject='', status_id='1',...' at line 1
×
×
  • Create New...