Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something wrong with the NCP LXD Container? tar.bz2 vs tar.gz #1380

Closed
michuvon opened this issue Nov 7, 2021 · 3 comments
Closed

Something wrong with the NCP LXD Container? tar.bz2 vs tar.gz #1380

michuvon opened this issue Nov 7, 2021 · 3 comments

Comments

@michuvon
Copy link

michuvon commented Nov 7, 2021

First of all, thank you @nachoparker and all who have been involved to put together a LXD container.
In the near future, I would like to write documentation on how to use the LXC/LXD template, in general and on Proxmox in particular. But I run into some issues.

  1. There is some inconsistency in the naming:
  1. ownyourbits/nextcloudpi suggests "Run NextCloudPi in any system that supports LXC containers, such as Proxmox." however, Proxmox is using tar.gz for the LXC Templates. It is therefore not even possible to upload the NextCloudPi_LXD_10-08-21.tar.bz2 file.

I asked about this in the proxmox forum, Where I was suggested to simply try and rename. I tried with my Mac, but it did not work. It still won't let me upload it.

The question is, is the NCP LXD Container compressed correctly?

  • Is tar.bz2the usual format for LXC/LXD and Proxmox with 'tar.gz' is simply using something strange?

Where can the LXD Container be run in its current stage, did someone try and test it successfully? Did I simply miss something?


Ad: Please consider contributing to the NCP LXC Documentation for Proxmox.

@nachoparker
Copy link
Member

The filename extension doesn't come from a typo, but from doing lxc export. I do not what format Proxmox expects, so we would have to check what the process is to import an LXD image into proxmox.

At any rate, this is better suited for the forums

Where can the LXD Container be run in its current stage, did someone try and test it successfully? Did I simply miss something?

It's right there in the README.md -> https://github.com/nextcloud/nextcloudpi#run-in-lxd

lxc import NextCloudPi_LXD_09-29-21.tar.bz
lxc start ncp

@michuvon
Copy link
Author

michuvon commented Nov 8, 2021

ok, thanks.
In that case it is a case for the forum. Thanks, I will also try to get some more infos on the proxmox forum so we can write a doc on how to get the LXD container run in Proxmox.

You can close this issue.

@nachoparker
Copy link
Member

awesome, thanks. You can link the forum post here for reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants