The problem is described here. The quick fix:
echo "options vhost max_mem_regions=512" > /etc/modprobe.d/vhost.conf
rmmod vhost_net
rmmod vhost
modprobe vhost_net| #!/bin/bash | |
| set -e -o errexit -o pipefail -o nounset | |
| ################################### | |
| # This script can be used by itself, but it's recommended that you read | |
| # a tutorial on Proxmox forum first: https://forum.proxmox.com/threads/hey-proxmox-community-lets-talk-about-resources-isolation.124256/ | |
| ################################### | |
| # Do not modify these variables (set by Proxmox when calling the script) | |
| vmId="$1" |
| import 'dart:async'; | |
| import 'dart:html' as html; | |
| import 'dart:ui' as ui; | |
| import 'package:flutter/material.dart'; | |
| void main() { | |
| final controller = Controller()..init(); | |
| runApp(EmbeddedIFrameExample(controller)); | |
| } |
The problem is described here. The quick fix:
echo "options vhost max_mem_regions=512" > /etc/modprobe.d/vhost.conf
rmmod vhost_net
rmmod vhost
modprobe vhost_net| <?php | |
| namespace App\Console\Commands; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Collection; | |
| use Illuminate\Support\Facades\Log; | |
| use Laravel\Scout\EngineManager; | |
| use Laravel\Scout\Engines\MeiliSearchEngine; | |
| use MeiliSearch\Client; |
| -- since it uses dblink it should be enabled in the database. | |
| -- CREATE EXTENSION dblink; | |
| -- And you'll may need to grant permissions to use it to your user. | |
| -- GRANT EXECUTE ON FUNCTION dblink_connect_u(text) TO user; | |
| -- GRANT EXECUTE ON FUNCTION dblink_connect_u(text, text) TO user; | |
| -- Usage example: | |
| -- select g_parsel('insert into osm_polygon_extra select osm_id, st_pointonsurface( st_collect( geom ) ) from osm_polygons group by osm_id;', 'osm_polygons', 12); |
| ############ If you are using DOCKER all-in-one image, create Dockerfile like: ################ | |
| ############ FROM openproject/openproject:16 ################ | |
| ############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################ | |
| ############ If you are runing a manual installation: ################ | |
| ############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################ | |
| ############ also be sure to RESTART OpenProject after replacing the file. ################ | |
| ############ If using some other set up (eg docker-compose), read the comments on ################ | |
| ############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################ |
| # | |
| # The official PVE docs on how to prepare cloud-init templates: | |
| # https://pve.proxmox.com/wiki/Cloud-Init_Support#_preparing_cloud_init_templates | |
| # | |
| # Additional guides and resources: | |
| # https://dae.me/blog/2340/how-to-add-an-existing-virtual-disk-to-proxmox/ | |
| # https://pve.proxmox.com/pve-docs/qm.1.html | |
| # use the Qemu/KVM Virtual Machine Manager to import the disk | |
| qm importdisk 107 Univention-App-kopano-core-KVM.qcow2 local-lvm |
| #cloud-config | |
| resize_rootfs: false | |
| disk_setup: | |
| /dev/sda: | |
| table_type: 'mbr' | |
| layout: | |
| - 25 | |
| - 75 | |
| overwrite: true |
| # Here are some domains I block to interfere with DNS-over-HTTPS, so that my own DNS-based security schemes work. | |
| # If you're going to be doing this, you should probably block all outbound 53, 853, and 5353 on your network, | |
| # except from your own internal DNS resolver (eg. pihole) | |
| # | |
| # Data from https://github.com/curl/curl/wiki/DNS-over-HTTPS (and other places) | |
| 1a.ns.ozer.im | |
| 8888.google | |
| aattwwss.duckdns.org | |
| abel.waringer-atg.de |
| ### Script originally based on https://gist.github.com/kydouglas/1f68d69e856fd6d7dc223f8e1f5ae3b3 | |
| #!/bin/bash | |
| #ONE LINE | |
| #sudo wget -Nnv 'https://gist.githubusercontent.com/kydouglas/1f68d69e856fd6d7dc223f8e1f5ae3b3/raw/f8c3b22b9d9c41093150b96c815776956b523d9d/elk.sh' && bash elk.sh && rm -f elk.sh | |
| # Checking whether user has enough permission to run this script | |
| sudo -n true | |
| if [ $? -ne 0 ] | |
| then |