[SOLVED] Need info about debian9 lxc.

jim.bond.9862

Renowned Member
Apr 17, 2015
395
34
68
I just update my home server to pve 5.3-8
All seams to be ok.
However I have issues setting up new lxc with debian9.
Got the template.
Created container off of it.
All starts and run. But.
I added a user v. I can login with the use but getting "$" prompt
Instead of bash shelf.
Tried to change shells it only works temporarily. Next login the "$" again.

Try to install emby server. It blows up at the end of install.

Have anyone setup deb9 lxc and use emby on it?
 
did you set the user shell ? you can change the login shell with 'chsh'
Yes I did. As I say in my post I cna change the shell but it only works for the session. Once i logout it reverts back to what ever the $ shell is.
The debian 8 setup works ok. In terms of it defaults to bash shell as i preffere.
I still have the issue with installong emby and such but basics seams ok.
Debian 9 give me a headache.
 
Yes I did. As I say in my post I cna change the shell but it only works for the session. Once i logout it reverts back to what ever the $ shell is.

Just tested this on a Debian 9 container. Try running as root

Code:
chsh -s /bin/bash <username>

Try to install emby server. It blows up at the end of install.

What kind of error are you getting?
 
I will try to do a full setup tonight or tomorrow and post the steps and errors here.
Maybe someone will see something meaningful.
 
Ok. A little update.
I figure out what I was doing wrong.
I was adding emby user manually. So when I run emby installer it blow up on user creation. So,
I got home tonight and started a new.
Load up a new loc with debian 9 template.
Did all updates etc.
Created my own user admin.
Logged in as root and set the shell to bash.
It worked. I think I was missing the -s switch on my last try.

So got the emby installed and running
Bind mount my data pools to loc to use with emby. All works.

Now I need to figure out the proper networking setup as all is very slow.