How to install Odoo 17 on OpenPanel server
PC✗3
by Stefan Pejcic
3d ago
Since OpenPanel offers a VPS-like enviroment to each user, user with sudo access can install Odoo 17. NOTE: in these examples, OpenPanel username is stefan, postgres user is stefan, postgres password is stefan and domain is: stefi.openpanel.site – change those as needed. Login as root If you are an OpenAdmin user, then login to server SSH and run this command to gain root for that user: opencli user-login stefan If you want to allow OpenPanel user to install Odoo themselves, then you need to grant them sudo access: opencli user-sudo stefan --enable now the user stefan can login via ssh ..read more
Visit website
Setting DNSSEC for Domains in OpenPanel
PC✗3
by Stefan Pejcic
2w ago
Here is how to enable DNSSEC for Domains hosted on OpenPanel. Note: I will use example.net as the domain name in all the code, make sure to replace it with your domain that will be using DNSSEC. First step is to add the domain name and set the nameservers hosted on OpenPanel server. After that follow these steps to generate and setup DNSSEC: Step 1. Create the keys for domain Enter the /var/cache/bind directory where we will store the keys and run the command to generate two key pairs for the domain example.net cd /var/cache/bind && dnssec-keygen -a NSEC3RSASHA1 -b 2048 -n ZONE exampl ..read more
Visit website
Using OpenPanel Only for Remote MySQL: Securing the Server and Reducing Resource Usage
PC✗3
by Stefan Pejcic
2w ago
OpenPanel is the first truly modular control panel, meaning that you can edit or disable every component of it that you do not need, and everything else keeps working as usual. This is not possible with traditional hosting panels, as they share the same services and therefore have many single points of failure. In this example, we will be using the OpenPanel server only for hosting the MySQL database, and accessing it from another server. After setting up the server, we only really need the MySQL service, user terminal access, and phpMyAdmin. Everything else can be disabled to avoid using syst ..read more
Visit website
Proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc
PC✗3
by Stefan Pejcic
3M ago
Error: Apr 2 14:27:00 s41 systemd[1]: proc-sys-fs-binfmt_misc.automount: Automount point already active? Apr 2 14:27:00 s41 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 4186 (telegraf) The solution is to restart the “proc-sys-fs-binfmt_misc.automount” service: systemctl restart proc-sys-fs-binfmt_misc.automount If the issue continues, and you don’t need this service, you can disable it: systemctl disable proc-sys-fs-binfmt_misc.automountsystemctl stop proc-sys-fs-binfmt_misc.automount The post proc-sys-fs-binfmt_misc.aut ..read more
Visit website
Restrict Virtualizor Admin access IPs
PC✗3
by Stefan Pejcic
4M ago
To restrict Virtualizor admin access to IPs, add them under: Configuration > Master Settings > Security Settings If you lock yourself out from the admin panel, from the terminal edit file and remove the IPs: nano /usr/local/virtualizor/universal.php find the line with “secure_allowed_ips” and remove the IPs from the list: $globals['secure_allowed_ips'] = ''; The post Restrict Virtualizor Admin access IPs appeared first on PC✗3 ..read more
Visit website
[SOLVED] OpenPanel – admin service failed with no error logs
PC✗3
by Stefan Pejcic
4M ago
When the OpenAdmin service fails without logging any errors, you can inspect the service’s status to get clues on the failure source. Running the command below will show the status and recent logs of the OpenAdmin service: service admin status If you encounter a service failure similar to the following output, it indicates a problem with starting the service, possibly due to a misconfiguration or an already running process: × admin.service - OpenAdmin Loaded: loaded (/etc/systemd/system/admin.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 20 ..read more
Visit website
How to increase docker container disk size (devicemapper)
PC✗3
by Stefan Pejcic
7M ago
Inside the docker container check the available disk space and get the path to the partition: root@server2:~# docker exec stefan df -h /var/lib/docker/devicemapper/mnt/bddbf234169773b6d6b52529ff32572add386085bc248a0ee807f70ce7c00adc Filesystem Size Used Avail Use% Mounted on /dev/mapper/docker-252:1-791489-bddbf234169773b6d6b52529ff32572add386085bc248a0ee807f70ce7c00adc 20G 1.2G 19G 6% /var/lib/docker/devicemapper/mnt/bddbf234169773b6d6b52529ff32572add386085bc248a0ee807f70ce7c00adc Current allocat ..read more
Visit website
Proxmox MailGateway login via Curl
PC✗3
by Stefan Pejcic
10M ago
Proxmox MailGateway login via Curl: curl -k -d 'username=root@pam' --data-urlencode 'password=sd7fv72vf' --insecure https://mf.pcx3.com:8006/api2/json/access/ticket Example response: {"data":{"CSRFPreventionToken":"65116E08:ge9N354yDwM5VeAql2QL2D9lDz3qaihWWxuca7RaUEA","role":"root","ticket":"PMG:root@pam:65116E08::u6vM+zY/WPadgc8ubP4GD0U6yu/xMzQQO34cKkjINRj5lPmXp9V36kCJRacWxxsac/dfgdfX+o46KyeT7ScePE45yfdhbcbXjhMw+wVgDS2j9IEpyJ2hGeMHcBsBVoYw1W6clSW5JqpUPnV0QwGrPR8/1OE0xyeRgdfgdfgiy08SDxN77htpJDxfYWXYi47ROPD/FMSwia1zD7LJLYpcOzNizPycV2GAL61CvpvschcPOsPUQklcmYr1AMz8kEZOKZdgFBLwy0Z5YEsmcqUJ1UfRW ..read more
Visit website
Node[175421]: pthread_create: Resource temporarily unavailable
PC✗3
by Stefan Pejcic
11M ago
Restarting a NodeJS application in cPanel *(CloudLinux) gives 503 error and the stderr.log states: Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe node[175421]: pthread_create: Resource temporarily unavailable node[175468]: pthread_create: Resource temporarily unavailable node[175524]: pthread_create: Resource temporarily unavailable node[175583]: pthread_create: Resource temporarily unavailable node[175654]: pthread_create: Resource temporarily unavailable node[175713]: pthread_create: Resource temporaril ..read more
Visit website
RoundCube (Internal Server Error) on CWP
PC✗3
by Stefan Pejcic
1y ago
tail -f /usr/local/cwpsrv/var/services/roundcube/logs/errors.log PHP Fatal error: Uncaught Error: Class ‘Spoofchecker’ not found in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_spoofchecker.php:50 Solution: nano /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_spoofchecker.php before line: // Spoofchecker is part of ext-intl (requires ICU >= 4.2) $checker = new Spoofchecker(); insert: return false; The post RoundCube (Internal Server Error) on CWP appeared first on PC✗3 ..read more
Visit website

Follow PC✗3 on FeedSpot

Continue with Google
Continue with Apple
OR