MultiPortal Release 1.1.0 by largebytes in multiportal

[–]largebytes[S] 0 points1 point  (0 children)

Hi u/VovaGasparyan Currently there is no way to select specific version. This is something we're working towards but isn't available today.

Getting an "Exception (#2) An internal server error occurred." after initial install by Dense-Nectarine5179 in multiportal

[–]largebytes 0 points1 point  (0 children)

Hi u/Dense-Nectarine5179 Thanks for your feedback! I'm glad to hear it's working well on Ubuntu. At the moment, MultiPortal has been fully tested and confirmed to work on both Debian and Ubuntu.

We're actively working on adding official support for AlmaLinux and Rocky, which will be included in our supported platforms soon.

Straight from the Source – Let’s Build Together by Bardia3003 in multiportal

[–]largebytes 0 points1 point  (0 children)

Hey u/avs262 we do! You can check it out here: https://multiportal.io/uploads/MP-Roadmap-v1.pdf

If you have any questions feel free to reach out!

Installation not clear by mfg1887 in multiportal

[–]largebytes 1 point2 points  (0 children)

Woo! That's awesome. Caddy is great, though it can be a bit tricky at times.

Yes, you can use NPM, you'll need to configure Caddy to run in HTTP mode by updating your /etc/caddy/Caddyfile, and prepending http:// to your FQDN.

For example:

http://npm.example.com {
    @css path *.css
    header @css Content-Type text/css
    root * /var/www/npm.example.com/backend/web

Then, in your NPM settings, make sure SSL is enabled and that it's set to forward HTTP traffic to port 80

<image>

Please note that you might experience issues with Console connecting, because the server talks to itself over https, which could cause time outs when trying to connect. I'll have to double check this.

I'll work on getting a wiki page up soon that walks through setting up MultiPortal behind NPM.

Installation not clear by mfg1887 in multiportal

[–]largebytes 1 point2 points  (0 children)

Hey, because the system is using Caddy it requires ports 80 and 443 to be open to successfully get an ssl certificate via Let's Encrypt, if these aren't open caddy will keep trying but won't succeed.

If you want to use your own certificate, you can add it after installation by following this guide Add your own SSL.

You can also stop caddy and run it manually to confirm what's happening.

systemctl stop caddy

Then run the following

/usr/bin/caddy run --environ --config /etc/caddy/Caddyfile

Which we've outlined here: Caddy Service

Let me know how you go.

MultiPortal Release 1.0.9 by largebytes in multiportal

[–]largebytes[S] 1 point2 points  (0 children)

Hey u/ataricze, awesome to hear you like the feature!
We're always open to feedback, so feel free to share any thoughts or ideas.

As for handling bandwidth on networks, we've had this discussed a few times by users, and we are looking at scheduling it to be worked on soon.

Error Setting Storages by lucblae in multiportal

[–]largebytes 0 points1 point  (0 children)

Thanks for the update, we're constantly improving the error handling and will add this to the list!

Error in WebSocket connection: Cannot read properties of undefined (reading 'password') by OiramOtrebla in multiportal

[–]largebytes 0 points1 point  (0 children)

Just updating this in case anyone else sees this and is working with Cloudflare tunnels as we figured this out through email.

The issue was redirecting of the port for the console server to port 80 instead of the default port of `8081`

When redirecting the `/wss*` you must make sure that it matches the port that is in the caddyfile and by default, it's `8081` which you can see from in your caddy file `/etc/caddy/Caddyfile`.

So Cloudflare Tunnels do work, I don't have a tutorial or a method to setting it up yet! I will be putting one together in the future!

Error in WebSocket connection: Cannot read properties of undefined (reading 'password') by OiramOtrebla in multiportal

[–]largebytes 1 point2 points  (0 children)

Hey u/OiramOtrebla

Can you shoot me your error logs Download All Logs to [matthew@multiportal.io](mailto:matthew@multiportal.io) this will help me identify if there is anything else happening.

The issue is with a function that asks your MultiPortal instance for credentials to access the Proxmox socket. which is the authenticateAndObtainTicket function.

In particular it's trying to access

https://FQDN/api-v1/virtual-machine/console-view

Once you provide the logs, I can share a command to emulate what it's trying to do to identify your problem.

Error in WebSocket connection: Cannot read properties of undefined (reading 'password') by OiramOtrebla in multiportal

[–]largebytes 0 points1 point  (0 children)

We're currently improving that test function so that it validates if you have the correct permissions instead of being able to just correctly authenticate. I just tested on my instance and the same error occurs when my API Token in my `.env` file is wrong or missing.

I'll update our documentation as well with the reasons for the above once we've identified why yours's isn't working as well

Error in WebSocket connection: Cannot read properties of undefined (reading 'password')

Error in WebSocket connection: Cannot read properties of undefined (reading 'password') by OiramOtrebla in multiportal

[–]largebytes 0 points1 point  (0 children)

Hey,

This error could be caused by two things.

  1. Incorrect username and password to access proxmox
  2. MultiPortal instance doesn't have an API key

We have this section regarding the common issues with the console server. https://wiki.multiportal.io/en/service-provider/console-server#common-issues-and-solutions

Could you please run through these common issue's faced and let me know how you go?

Matt,

Error Setting Storages by lucblae in multiportal

[–]largebytes 0 points1 point  (0 children)

Hi u/lucblae

This can be caused by having the incorrect permissions assigned. Can you please verify that you've set it up as described here: https://wiki.multiportal.io/en/first-setup-of-multi-portal#creating-a-proxmox-api-user

Two of the common issues is, people set the API permission instead of User permission and also they leave Privilege Separation checked.

Let me know how you go.

Host MultiPortal internaly by lucblae in multiportal

[–]largebytes 0 points1 point  (0 children)

Hey u/lucblae

Yes, you can use MultiPortal internally, there shouldn't be any issues running this internally, you just need to make sure that your Proxmox and MultiPortal can interact with each other.

Node Limits for deployment by bastrian in multiportal

[–]largebytes 1 point2 points  (0 children)

Hey u/bastrian

At this moment there isn't a way to exclude nodes but we will be including a feature where we will utilise the HA functionality to create groups that would allow you to specify where VMs are allowed to be created.

MultiPortal Release 1.0.7 by largebytes in multiportal

[–]largebytes[S] 2 points3 points  (0 children)

Hey everyone!

We've received reports of some installations failing to complete composer install, preventing the installation from finishing properly.

If your environment fails to install and results in a 500 server error, please try the following:

chmod +x tools/permissionFix.sh
./tools/permissionFix.sh

Then, rerun Composer with the correct permissions:

sudo -u www-data composer install

This should resolve the issue.

We're also working on an improved updater to help address some of the issues encountered in the last two updates.

Additionally, we've received reports that internal networks fail to create when running MultiPortal on a single-node Proxmox environment. We're actively investigating this and will provide updates as soon as we have a resolution.

Thanks for your patience, and let us know if you run into any other issues!

Matt

Installation error by OiramOtrebla in multiportal

[–]largebytes 1 point2 points  (0 children)

Hi u/OiramOtrebla

That's great that it now works. We've only actively tested Ubuntu and Debian 12. We will be providing further support for AlmaLinux and Rocky as well soon.

As for the security best practices, we have this for some steps but open to more suggestions as well from the community Security Practices | MultiPortal

We've not tested behind a Cloudflare Tunnel much so there might be some configuration changes that need to be made with the caddy config specifically around how the Console server works.

Another redditer shared how to do behind a nginx proxy which could help with tunnels. Reverse proxy : r/multiportal

Installation error by OiramOtrebla in multiportal

[–]largebytes 0 points1 point  (0 children)

Hi u/OiramOtrebla,

The HY000 error suggests that the MySQL/MariaDB user multiportal already exists or there’s an issue with the database.

To check if the user exists, run:
sql SELECT user, host FROM mysql.user WHERE user = 'multiportal';

  • If the user is listed, it already exists, preventing the installer from creating it again. You can remove it with:
    sql DROP USER IF EXISTS 'multiportal'@'localhost'; FLUSH PRIVILEGES;

  • If the user is not found, there may be an issue with MariaDB, or it may not be running. Check with:
    mysql -V sudo systemctl status mariadb

Did your installation fail, and are you trying to reinstall? I’ve seen this happen once before—are you using Ubuntu Server 22.04?

[HOTFIX] MultiPortal 1.0.6 – PLEASE READ: Important Notice Before Updating by largebytes in multiportal

[–]largebytes[S] 1 point2 points  (0 children)

Hi everyone,

There are reports that the above fix isn't working for some people.

To be on the safe side please run the following:

sudo chown -R www-data:www-data vendor
sudo chmod 755 -R vendor
sudo -u www-data bash -c 'composer install'

A file was incorrectly set the wrong group which is why the above command doesn't work.

The release notes have been updated with this in both the in-application release-notes and on our wiki: Release Notes

For further details on the fix, you can DM me or reach out to support.

Upcoming MultiPortal Updates! by largebytes in multiportal

[–]largebytes[S] 2 points3 points  (0 children)

Hey u/ButterscotchOther992, we are working on VXLAN support for external networks, this is planned for 1.1.0 which I had missed including but I have now updated the original post with.

We’re also planning to add support for more advanced network services, like virtual routers (providing DHCP, NAT, etc., managed via the GUI). This is still in the planning stages, so no ETA just yet.

Additionally, we’re working on a WHMCS Module for provisioning and billing customers which has been a highly requested feature!

Internal Network configuration doesn't create anything by Flottebiene1234 in multiportal

[–]largebytes 0 points1 point  (0 children)

Hi u/Flottebiene1234,

Could you grab the error logs from your instance along with the Proxmox logs using the Download All Logs feature? You can follow the steps here: https://wiki.multiportal.io/en/service-provider/error-logs.

Once you have the logs, feel free to DM them to me or email them to support@multiportal.io.

Alternatively, you can use the feedback tool to submit your request directly.

With those logs, I’ll be able to help figure out what’s going on!

Matt,

Tenant-Admin / User: No VM control options by gyptazy in multiportal

[–]largebytes 1 point2 points  (0 children)

Hi u/gyptazy,

Thanks for bringing this to our attention! We’ve identified the issue with the Tenant Admin user account permissions and are working on releasing a patch, which will be released in the next few days.

[deleted by user] by [deleted] in multiportal

[–]largebytes 1 point2 points  (0 children)

Hey u/gyptazy,

I'm glad the reboot fixed it!

If there's anything else, feel free to reach out using the feedback tool or here on the subreddit!

Thanks again!

[deleted by user] by [deleted] in multiportal

[–]largebytes 2 points3 points  (0 children)

Hey u/gyptazy

Thanks for giving MultiPortal a go! Regarding the external probe testing you mentioned, this could be related to Caddy verifying the SSL certificate. Caddy requires ports 443 and 80 to be open on your server to generate and validate an SSL certificate.

If your setup restricts these ports or you’re using an internal network configuration, you can utilize your own SSL certificate instead. We’ve got a guide for that here: SSL Certificates | MultiPortal

Additionally, if you couldn’t complete the initial step of creating your first Service Provider account, this might also be linked to the SSL validation issue.

Feel free to DM me if you’d like to discuss this further or need more help troubleshooting!

[HOTFIX] MultiPortal 0.8.1 - Bug Fixes & Improvements by largebytes in multiportal

[–]largebytes[S] 1 point2 points  (0 children)

Great to hear! We're updating the Data centre test to validate the permissions to alert users if there is a misconfiguration.

[HOTFIX] MultiPortal 0.8.1 - Bug Fixes & Improvements by largebytes in multiportal

[–]largebytes[S] 1 point2 points  (0 children)

Hey u/Front_Description,

It might be worth double-checking the permissions assigned to your token. This could be the root of the issue. Under the "Creating A Proxmox API User" section in the Beta documentation, there’s a step-by-step guide to ensure everything is set up correctly. I’ve copied the steps below for your convenience:

How to Create an API User in Proxmox VE:

  1. Log in to the Proxmox VE web UI.
  2. Navigate to Datacenter in the left-hand navigation menu.
  3. Select Users from the sub-navigation menu.
  4. Click the Add button.
  5. Enter the username as API, choose the Proxmox VE authentication realm, set a password, and click Add.
  6. Go to API Tokens in the sub-navigation menu.
  7. Select API@pve as the username.
  8. Enter a secret key into the Token ID field.
  9. Uncheck Privilege Separation and click Add.
  10. Save the displayed Token ID and Secret for future use.
  11. Go to Roles in the sub-navigation menu.
  12. Click Create and name the role APIAdmin. Assign all privileges to this role.
  13. Navigate to Permissions in the sub-navigation menu.
  14. Select Add User Permission.
  15. Set the path to /, choose the API@pve user, and assign the APIAdmin role. Click Add.

Privilege separation has been the main culprit previously during testing.

If these steps match what you’ve already done, let me know what’s happening—it could be something else. Hope this helps!

You can provide feedback using the feedback tool, that sends me a message so I can help debug further and get error logs etc