Hi all,
I’m running into issues with accessing my VPS via web interface. Any help very much appreciated!
My YunoHost server
Hardware: VPS bought online
YunoHost version: 11.1.0.2
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
After the migration to Bullseye, no ports (except 22) are accessible from outside according to the diagnosis (see diagnosis output at bottom), and I can’t access my server’s web interface (or any app on it). All services appear to be running correctly.
At first I thought be migration completed successfully since Debian says it’s at bullseye, and the yunohost version is at 11, and the migration says it’s done:
migrations:
0:
description: Upgrade the system to Debian Bullseye and YunoHost 11.x
disclaimer: None
id: 0021_migrate_to_bullseye
mode: manual
name: migrate_to_bullseye
number: 21
state: done
However when I dug up the log, it looks like it errored out (link to full log below):
2022-11-04 04:26:58,346: ERROR - Migration 0021_migrate_to_bullseye did not complete, aborting. Error: Failed to reinstall mariadb-common ?
Traceback (most recent call last):
File "/usr/lib/moulinette/yunohost/tools.py", line 944, in tools_migrations_run
migration.run()
File "/usr/lib/moulinette/yunohost/data_migrations/0021_migrate_to_bullseye.py", line 174, in run
raise YunohostError("Failed to reinstall mariadb-common ?", raw_msg=True)
yunohost.utils.error.YunohostError: Failed to reinstall mariadb-common ?
I’ve seen other topics with this error, but they seemed to fix it by rerunning the migration, which I can’t.
- Is there anything else I should check related to the ports?
- Is there a way to rerun the migration (if that’s even advisable)?
I’d very much appreciate advice on what could be causing the ports to be inaccessible or why the migration seemed to fail, but also shows as completed.
Thanks in advance!
Log of migration: hastebin
Ports Diagnosis Output:
=================================
Ports exposure (ports)
=================================
[ERROR] Port 25 is not reachable from the outside.
- Exposing this port is needed for email features (service postfix)
- To fix this issue, you most probably need to configure port forwarding on your internet router as described in https://yunohost.org/isp_box_config
[ERROR] Port 80 is not reachable from the outside.
- Exposing this port is needed for web features (service nginx)
- To fix this issue, you most probably need to configure port forwarding on your internet router as described in https://yunohost.org/isp_box_config
[ERROR] Port 443 is not reachable from the outside.
- Exposing this port is needed for web features (service nginx)
- To fix this issue, you most probably need to configure port forwarding on your internet router as described in https://yunohost.org/isp_box_config
[ERROR] Port 587 is not reachable from the outside.
- Exposing this port is needed for email features (service postfix)
- To fix this issue, you most probably need to configure port forwarding on your internet router as described in https://yunohost.org/isp_box_config
[ERROR] Port 993 is not reachable from the outside.
- Exposing this port is needed for email features (service dovecot)
- To fix this issue, you most probably need to configure port forwarding on your internet router as described in https://yunohost.org/isp_box_config
[ERROR] Port 5222 is not reachable from the outside.
- Exposing this port is needed for xmpp features (service metronome)
- To fix this issue, you most probably need to configure port forwarding on your internet router as described in https://yunohost.org/isp_box_config
[ERROR] Port 5269 is not reachable from the outside.
- Exposing this port is needed for xmpp features (service metronome)
- To fix this issue, you most probably need to configure port forwarding on your internet router as described in https://yunohost.org/isp_box_config
Services status:
distbin:
configuration: unknown
description: Distributed pastebin
last_state_change: 2022-11-05 05:43:55
start_on_boot: enabled
status: running
dnsmasq:
configuration: valid
description: Handles domain name resolution (DNS)
last_state_change: 2022-11-05 05:43:56
start_on_boot: enabled
status: running
dovecot:
configuration: unknown
description: Allows e-mail clients to access/fetch email (via IMAP and POP3)
last_state_change: 2022-11-05 05:43:57
start_on_boot: enabled
status: running
fail2ban:
configuration: valid
description: Protects against brute-force and other kinds of attacks from the Internet
last_state_change: 2022-11-05 05:44:00
start_on_boot: enabled
status: running
gitea:
configuration: unknown
description: Gitea
last_state_change: 2022-11-05 05:43:57
start_on_boot: enabled
status: running
gogs:
configuration: unknown
description: Gogs (Go Git Service)
last_state_change: 2022-11-05 05:43:57
start_on_boot: enabled
status: running
metronome:
configuration: unknown
description: Manage XMPP instant messaging accounts
last_state_change: 2022-11-06 00:00:05
start_on_boot: enabled
status: running
mysql:
configuration: unknown
description: Stores app data (SQL database)
last_state_change: 2022-11-05 05:43:57
start_on_boot: enabled
status: running
nginx:
configuration: valid
description: Serves or provides access to all the websites hosted on your server
last_state_change: 2022-11-05 05:44:00
start_on_boot: enabled
status: running
php7.4-fpm:
configuration: valid
description: The PHP 7.4 FastCGI Process Manager
last_state_change: 2022-11-05 05:43:58
start_on_boot: enabled
status: running
postfix:
configuration: unknown
description: Used to send and receive e-mails
last_state_change: 2022-11-05 05:43:58
start_on_boot: enabled
status: running
postgresql:
configuration: unknown
description: Stores app data (SQL database)
last_state_change: 2022-11-05 05:43:59
start_on_boot: enabled
status: running
redis-server:
configuration: unknown
description: A specialized database used for rapid data access, task queue, and communication between programs
last_state_change: 2022-11-05 05:43:55
start_on_boot: enabled
status: running
rspamd:
configuration: unknown
description: Filters spam, and other e-mail related features
last_state_change: 2022-11-05 05:43:56
start_on_boot: enabled
status: running
slapd:
configuration: valid
description: Stores users, domains and related info
last_state_change: 2022-11-05 05:43:55
start_on_boot: enabled
status: running
ssh:
configuration: valid
description: Allows you to connect remotely to your server via a terminal (SSH protocol)
last_state_change: 2022-11-05 05:43:55
start_on_boot: enabled
status: running
tiddlywiki:
configuration: unknown
description: A non-linear personal web notebook
last_state_change: 2022-11-05 05:43:55
start_on_boot: enabled
status: running
ttrss:
configuration: unknown
description: News feed reader and aggregator
last_state_change: 2022-11-05 05:43:57
start_on_boot: enabled
status: running
yunohost-api:
configuration: unknown
description: Manages interactions between the YunoHost web interface and the system
last_state_change: 2022-11-05 05:43:55
start_on_boot: enabled
status: running
yunohost-firewall:
configuration: unknown
description: Manages open and close connection ports to services
last_state_change: 2022-11-05 05:44:00
start_on_boot: enabled
status: running
yunomdns:
configuration: unknown
description: Allows you to reach your server using 'yunohost.local' in your local network
last_state_change: 2022-11-05 05:43:55
start_on_boot: enabled
status: running