Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Unable to create OpenMediaVault LXC #2410

Closed
szymswiat opened this issue Jan 30, 2024 · 6 comments
Closed

Unable to create OpenMediaVault LXC #2410

szymswiat opened this issue Jan 30, 2024 · 6 comments
Labels
🧐 Not a Script Issue Not a Script Issue

Comments

@szymswiat
Copy link

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

OMV container installation crashes due to below error:

[ERROR] in line 42: exit code 0: while executing command 
apt-get -y --auto-remove --show-upgraded --allow-downgrades --allow-change-held-packages 
--no-install-recommends --option DPkg::Options::="--force-confdef" --option DPkg::Options::="--force-confold" 
install openmediavault-keyring openmediavault &> /dev/null

Complete error message:

root@omv:~# apt-get -y --auto-remove --show-upgraded --allow-downgrades --allow-change-held-packages --no-install-recommends --option DPkg::Options::="--force-confdef" --option DPkg::Options::="--force-confold" install openmediavault-keyring openmediavault             
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php-pam : Depends: phpapi-20190902 but it is not installable
E: Unable to correct problems, you have held broken packages.

Which Linux distribution are you employing?

Default Settings

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

No response

Please provide detailed steps to reproduce the issue.

No response

@szymswiat szymswiat changed the title Unable to install OpenMediaVault LXC Unable to create OpenMediaVault LXC Jan 30, 2024
@tteck
Copy link
Owner

tteck commented Jan 30, 2024

What Linux distribution?

@tteck
Copy link
Owner

tteck commented Jan 30, 2024

As this issue is unrelated to the script, it is considered closed.

   ____                   __  ___         ___      _    __            ____ 
  / __ \____  ___  ____  /  |/  /__  ____/ (_)___ | |  / /___ ___  __/ / /_
 / / / / __ \/ _ \/ __ \/ /|_/ / _ \/ __  / / __ `/ | / / __ `/ / / / / __/
/ /_/ / /_/ /  __/ / / / /  / /  __/ /_/ / / /_/ /| |/ / /_/ / /_/ / / /_  
\____/ .___/\___/_/ /_/_/  /_/\___/\__,_/_/\__,_/ |___/\__,_/\__,_/_/\__/  
    /_/                                                                    
 
Using Advanced Settings
Using Distribution: debian
Using debian Version: 11
Using Container Type: 0
Using Root Password: Automatic Login
Container ID: 111
Using Hostname: omv
Using Disk Size: 4
Allocated Cores: 2
Allocated RAM: 1024
Using Bridge: vmbr0
Using IP Address: dhcp
Using Gateway IP Address: Default
Using APT-Cacher IP Address: Default
Disable IPv6: yes
Using Interface MTU Size: Default
Using DNS Search Domain: Host
Using DNS Server IP Address: Host
Using MAC Address: AE:1A:60:07:B7:59
Using Vlan: Default
Enable Root SSH Access: no
Enable Verbose Mode: no
Creating a OMV LXC using the above advanced settings
 ✓ Using local for Template Storage.
 ✓ Using local-lvm for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 111 was successfully created.
 ✓ Started LXC Container
 ✓ Set up Container OS
 ✓ Network Connected: 192.168.86.253 
 ✓ Internet Connected
 ✓ DNS Resolved github.com to 140.82.114.4
 ✓ Updated Container OS
 ✓ Installed Dependencies
 ✓ Installed OpenMediaVault
 ✓ Customized Container
 ✓ Cleaned
OMV should be reachable by going to the following URL.
         http://192.168.86.253 

@tteck tteck closed this as completed Jan 30, 2024
@tteck tteck added the 🧐 Not a Script Issue Not a Script Issue label Jan 30, 2024
@szymswiat
Copy link
Author

szymswiat commented Feb 1, 2024

In my setup the error shows with the default configuration, but looks like it is OMV issue as described here.

@tteck
Copy link
Owner

tteck commented Feb 1, 2024

Default configuration uses Debian 11. Your link discusses Debian 12.

@szymswiat
Copy link
Author

Yep, but I'm getting the same error using Debian 11.

@tteck
Copy link
Owner

tteck commented Feb 11, 2024

If I cannot reproduce the problem on my side, I cannot address an issue that appears to be functioning correctly here.

   ____                   __  ___         ___      _    __            ____ 
  / __ \____  ___  ____  /  |/  /__  ____/ (_)___ | |  / /___ ___  __/ / /_
 / / / / __ \/ _ \/ __ \/ /|_/ / _ \/ __  / / __ `/ | / / __ `/ / / / / __/
/ /_/ / /_/ /  __/ / / / /  / /  __/ /_/ / / /_/ /| |/ / /_/ / /_/ / / /_  
\____/ .___/\___/_/ /_/_/  /_/\___/\__,_/_/\__,_/ |___/\__,_/\__,_/_/\__/  
    /_/                                                                    
 
Using Advanced Settings
Using Distribution: debian
Using debian Version: 11
Using Container Type: 0
Using Root Password: Automatic Login
Container ID: 109
Using Hostname: omv
Using Disk Size: 4
Allocated Cores: 2
Allocated RAM: 1024
Using Bridge: vmbr0
Using IP Address: dhcp
Using Gateway IP Address: Default
Using APT-Cacher IP Address: Default
Disable IPv6: yes
Using Interface MTU Size: Default
Using DNS Search Domain: Host
Using DNS Server IP Address: Host
Using MAC Address: AE:1A:60:07:B7:59
Using Vlan: Default
Enable Root SSH Access: no
Enable Verbose Mode: no
Creating a OMV LXC using the above advanced settings
 ✓ Using local for Template Storage.
 ✓ Using local-lvm for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 109 was successfully created.
 ✓ Started LXC Container
 ✓ Set up Container OS
 ✓ Network Connected: 192.168.86.250 
 ✓ IPv4 Internet Connected
 ✓ DNS Resolved github.com to 140.82.114.4
 ✓ Updated Container OS
 ✓ Installed Dependencies
 ✓ Installed OpenMediaVault
 ✓ Customized Container
 ✓ Cleaned
OMV should be reachable by going to the following URL.
         http://192.168.86.250 

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🧐 Not a Script Issue Not a Script Issue
Projects
None yet
Development

No branches or pull requests

2 participants