Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] LXC Plugin

Featured Replies

it was before I knew how the lxc plugin worked and how I made paths and how data was generated, so I sandboxed them into 1 folder as this is the test machine and not a production system.

On the main production system(why the custom rsync), they are separated. It something I haven't gotten around to fixing on the test machine. After knowing xyz to make sure its doing xyz. also why I went the way I did originally with the unfi lxc backup restore method... also some crazy curiosities on how its doing what it's doing.

I was also playing around with the cgroups per older posts and others per earlier post and testing the limits such as device pas through.

It why earlier in this forum I asked if I was able to run the lxc commands directly themselves and how I would go about passing a graphics card or usb port similar to the vm stuff...

Mainly as I had a weird old system, amd opterom, that for one reason or another wouldn't run a unraid vm, but would run dockers and lxc... that systems is long gone for now...

Only because things are running, while it wouldn't be too hard to change and fix folder structures and naming conventions. It will probably not change. as i probably wouldn't leave it in my appdata folder, knowing other stuff. (mainly with uses with other dockers and plugins that touch dockers.

Hope that helps in why its that way. I understand its confusing and weird.

  • Replies 899
  • Views 157.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Install SSH Server in Debian based containers:     Method 1 (recommended) :   Attach to the container with "lxc-attach DebianLXC /bin/bash" (replace DebianLXC with your con

  • Is someone here interested in something like a "Button" on the create container page where a Debian Bullseye container is set up with a pretty basic Desktop environment (XFCE4) in conjunction with Tur

  • domrockt
    domrockt

    AWSOMEEEEEEE   

Posted Images

  • Author
11 minutes ago, bmartino1 said:

Hope that helps in why its that way. I understand its confusing and weird.

No need to explain… I was just saying.

Hi. I want to import Nextcloud LXC image. There is instruction how to import. But for Unraid it isn't work. I need another way.

  • Author
1 hour ago, Hayo Tee said:

Hi. I want to import Nextcloud LXC image. There is instruction how to import. But for Unraid it isn't work. I need another way.

I will look into that and report back.

 

However if this is just the rootfs you can deploy a container and then overwrite the contents from the archive with the rootfs from the before deployed container.

1 hour ago, ich777 said:

I will look into that and report back.

 

However if this is just the rootfs you can deploy a container and then overwrite the contents from the archive with the rootfs from the before deployed container.

Yes, I'll try. It might work.

  • Author
15 minutes ago, Hayo Tee said:

Yes, I'll try. It might work.

Now that I think again about it, someone already did that and it was working.

  • Author

@Hayo Tee I've made something to really easily install NextcloudPi from the linked repository, if you want to try it simply run this command from a Unraid terminal:

**REMOVED**

 

Please see this repository on how to install NextcloudPi: Click

 

The steps basically are:

  1. Open a Unraid terminal and execute
    wget -O /tmp/lxc_container_template.xml https://raw.githubusercontent.com/ich777/unraid_lxc_nextcloudpi/master/lxc_container_template.xml
  2. Navigate to http://<YourunRAIDIP>/LXCAddTemplate
  3. Make your changes if necessary
  4. Click Apply
  5. Wait for the Done button
On 8/12/2024 at 8:17 PM, ich777 said:

@Hayo Tee I've made something to really easily install NextcloudPi from the linked repository, if you want to try it simply run this command from a Unraid terminal:

**REMOVED**

 

Please see this repository on how to install NextcloudPi: Click

 

The steps basically are:

  1. Open a Unraid terminal and execute
    wget -O /tmp/lxc_container_template.xml https://raw.githubusercontent.com/ich777/unraid_lxc_nextcloudpi/master/lxc_container_template.xml
  2. Navigate to http://<YourunRAIDIP>/LXCAddTemplate
  3. Make your changes if necessary
  4. Click Apply
  5. Wait for the Done button

Container isn't starting.

  • Author
30 minutes ago, Hayo Tee said:

Container isn't starting.

Can you please tell me what step that you've done, step by step?

 

I can start the container just fine, did you also wait for the Done button to appear?

 

I have confirmation that the container is working from @Archonw

 

What output does:

lxc-start -F <CONTAINERNAME>

give?

 

 

I have now reinstalled the container and it's working and starting:
grafik.thumb.png.952b25866355109ce92a94b17c0408d0.png

8 hours ago, ich777 said:

What output does:

lxc-start -F <CONTAINERNAME>

give?

Quote

lxc-start: nextcloudpi: ../src/lxc/tools/lxc_start.c: lxc_start_main: 267 No container config specified

 

Edited by Hayo Tee

  • Author
6 minutes ago, Hayo Tee said:

 

Are you sure that you‘ve waited until the Done button showed up, it seems most likely the case that the download wasn‘t finished.

 

Please try to delete the container and redownload it (please note that the download can take a long time since this is a pretty big container).

 

If you can‘t delete the container or you get an error you have to remove the folder for the container in your LXC directory.

22 minutes ago, ich777 said:

Are you sure that you‘ve waited until the Done button showed up, it seems most likely the case that the download wasn‘t finished.

root@server:~# lxc-start -F nextcloudpi
lxc-start: nextcloudpi: ../src/lxc/network.c: netdev_configure_server_macvlan: 909 Device or resource busy - Failed to create macvlan interface "mcfUrl1s" on "eth1"
lxc-start: nextcloudpi: ../src/lxc/network.c: lxc_create_network_priv: 3466 No such device - Failed to create network device
lxc-start: nextcloudpi: ../src/lxc/start.c: lxc_spawn: 1847 Failed to create the network
lxc-start: nextcloudpi: ../src/lxc/start.c: __lxc_start: 2114 Failed to spawn container "nextcloudpi"
lxc-start: nextcloudpi: ../src/lxc/tools/lxc_start.c: lxc_start_main: 307 The container failed to start
lxc-start: nextcloudpi: ../src/lxc/tools/lxc_start.c: lxc_start_main: 312 Additional information can be obtained by setting the --logfile and --logpriority options

 

I have two lan ports. I want to use lan0 for unraid and containers, and lan1 only for nextcloud. how to set it up correctly?

now i changed nextcloud network adapter to br1 and its started!

Edited by Hayo Tee

  • Author
14 minutes ago, Hayo Tee said:

I want to use lan0 for unraid and containers, and lan1 only for nextcloud. how to set it up correctly?

Usually you specify br0 in the container config but I don‘t know your exact config.


Can you please post your Diagnostics so that I can see how everything is set up?

21 minutes ago, ich777 said:

Usually you specify br0 in the container config but I don‘t know your exact config.


Can you please post your Diagnostics so that I can see how everything is set up?

 

server-diagnostics-20240815-1101.zip

Unraid 7.0 doesn't have LXC on the dashboard :(

  • Author
6 minutes ago, Ladrek said:

Unraid 7.0 doesn't have LXC on the dashboard :(

On what plugin version are you?

Are you sure you are on the latest LXC plugin version?

 

What do you referring to? The RAM usage or the Containers themself?

I see the containers on the Dashboard alongside with the RAM usage.

It should have its own column like these, shouldn't it?

 

LXC Version: LXC Version: 6.0.1

 

image.thumb.png.92e77d5e4ad27852a14693186dbd644a.png

image.png.1a0f95588f27a720573a193f1ad20bad.png

  • Author
33 minutes ago, Ladrek said:

LXC Version: LXC Version: 6.0.1

Plugin version, not LXC version...

 

It sure does:

grafik.png.24e0bd482196b63a7863d52a807a7afb.png

 

grafik.png.0fc69c1b5224bbc7d986fe379d4196d2.png

Updating it to the latest plugin worked.

25 minutes ago, ich777 said:

Sorry but I don't give support for pirated Unraid versions.

 

https://unraid.net/buy-genuine-license

 

@SpencerJ

sorry for using the pirated version. I haven't decided yet whether to buy the program or not. Because $109 is a lot of money for me. before that, I used OMV and Debian based distro. I chose unraid because it is convenient to manage lxc and VM via the web ui.

  • Author
15 minutes ago, Hayo Tee said:

sorry for using the pirated version. I haven't decided yet whether to buy the program or not. Because $109 is a lot of money for me. before that, I used OMV and Debian based distro. I chose unraid because it is convenient to manage lxc and VM via the web ui.

You know that you can register trail?

The first trail period is 30 days and then you can extend it 2x 15 days

1 hour ago, ich777 said:

You know that you can register trail?

The first trail period is 30 days and then you can extend it 2x 15 days

Yes, I have already expired this period. But about 2x 15 days I didn't know

  • Author
1 minute ago, Hayo Tee said:

Yes, I have already expired this period. But about 2x 15 days I didn't know

You should be still able to extend your trial period but please remove all of the piracy stuff and we can troubleshoot further.

 

The container is working perfectly fine over here and I have also confirmation that it works from another user.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.