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

why package center cancel the debian chroot today? #3055

Closed
oit63 opened this issue Dec 22, 2017 · 33 comments
Closed

why package center cancel the debian chroot today? #3055

oit63 opened this issue Dec 22, 2017 · 33 comments

Comments

@oit63
Copy link

oit63 commented Dec 22, 2017

Compile Spk

Here is a step-by-step compile guide for you.
How to compile spk step-by-step Guide

Customization

Customization Guides

Downloads

Debian-Chroot.spk

History

[posted 12-22-2017]
I am surprised that I cannot find debian chroot in package center any more, but why you cancel it? It works well.
[updated 10-25-2018]
for now, I compiled one by myself, and fix bugs for working on DSM6.1~6.2,then I put it on my dropbox thx to @Tao87-04's suggestion.

P.S.

if you want this package for your platform, just tell me by making a new issue on the repo above.

@jeancaffou
Copy link

jeancaffou commented Dec 22, 2017

+1
#3031 #2718

@spiceyux
Copy link

+1

@VadVoci
Copy link

VadVoci commented Dec 22, 2017

I've downgraded xpenology from DSM 6.1.4 to DSM 5.2-5644 , DS3615xs today .
Debian Chroot is still missing in community repo!

Please, Does anyone have the Debian-Chroot 8.4-7 offline spk package?

I need urgently.

@ymartin59
Copy link
Contributor

I am sorry to say it does not work so well... typically try to uninstall that package may brick your DSM system completely. Because of some complaints I decided to stop package distribution.
OK, I set it back... but really consider it as unsupported

@jeancaffou
Copy link

Thank you, in that case please consider having an "unsupported" category with offline installs, warnings on the synocommunity page.

I see the chroot package now.

@VadVoci
Copy link

VadVoci commented Dec 23, 2017

@ymartin59 Thank you very much! I saved the spk pack for offline use.
@jeancaffou A good idea

@oit63
Copy link
Author

oit63 commented Dec 24, 2017

OK, I found Synology Community gives it back now. It was weird.

@oit63
Copy link
Author

oit63 commented Dec 24, 2017

although I found I cannot launch it... So I decide to give it up. Thanks Diaoul anyway.

@VadVoci
Copy link

VadVoci commented Dec 24, 2017

@Daopr
Debian Chroot v7.4-4 (from spk.synologyitalia.com) > In DSM5.2, the application does not start! In DSM6.1 neither!

Debian Chroot v8.4-7 (from packages.synocommunity.com) > In DSM5.2, the application runs perfectly!

In DSM6.0 the Debian Chroot application needs some tweaks. You can not start the debian services from the application, but from the DSM task scheduler .

@oit63
Copy link
Author

oit63 commented Dec 25, 2017

@VadVoci Thanks a lot. I have ever run debian chroot on esxi dsm 6.1, it works well. But this is the first time I run it on the real Synology, So I met this problem.
Thanks for your clue, I found this issue to solve my problem
#1910

@ymartin59
Copy link
Contributor

Hard to believe debian-chroot really works well according to reported issues like #3059 and many others

@VadVoci
Copy link

VadVoci commented Dec 26, 2017

@ymartin59
[quote=ymartin59]typically try to uninstall that package may brick your DSM system completely. Because of some complaints I decided to stop package distribution.
[/quote]
Uninstalling the DebianChroot app without stopping it first, and implicitly without umount-ing shared folders and files between that two environments,
i think it will remove folders and files used by the synology OS and Debian together.

..issues like #3059 .., This issue with 'locale' has always existed after fresh installation of Debian Chroot.
It's easy to solve this issue with a few steps in the command line.
apt-get update
apt-get upgrade
apt-get install locales
dpkg-reconfigure locales
dpkg-reconfigure tzdata
And then edit this files:
/volume1/@appstore/debian-chroot/var/chroottarget/etc/default/locale
/volume1/@appstore/debian-chroot/var/chroottarget/etc/environment
where insert this line: LANG=en_US.UTF-8

sudo locale-gen en_US en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
sudo locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales
choose.. en_US.UTF-8 UTF-8 .. and then ENTER
sudo localedef -i en_US -f UTF-8 en_US.UTF-8
Edit:
/volume1/@appstore/debian-chroot/var/chroottarget/etc/locale.gen
And remove this character '#' from the beginning of the line: en_US.UTF-8 UTF-8

sudo locale-gen en_US en_US.UTF-8

@Safihre
Copy link
Contributor

Safihre commented Feb 26, 2018

Since the package is back, closing this. Still needs conversion to DSM6, but there's plenty of other issues for that..

@Safihre Safihre closed this as completed Feb 26, 2018
@wabee
Copy link

wabee commented Jun 28, 2018

Does anyone know how to remove the package safely from DSM 6.2??

@ymartin59
Copy link
Contributor

Probably nobody... we will investigate that situation when upgrading package to run on DSM 6.x

@wabee
Copy link

wabee commented Jun 29, 2018

I read up on Debian Chroot in general and it seems the most important thing is to make sure that nothing referring to the Chroot environment is mounted.
I stopped Chroot and rebooted the NAS, after that nothing chroot related was mounted. I "believe" it would be safe to remove the chroot dirs after this manually but have yet to try. Must make sure all important data is backed up first.

@Lovski
Copy link

Lovski commented Jul 20, 2018

Is it correct Debian Chroot has been pulled again? It was working perfectly for me on DSM 6.2, however I wanted to remove it and reinstall it because of an issue with a package that I installed through Chroot. However, after removing it, I cannot find it anymore in the SynoCommunity via Package Center. It is also no longer listed on https://synocommunity.com/packages. (DS216+II)

I see now that it has indeed been pulled. Such a shame! Should have known this before uninstalling it... Now to find another way of getting pi-hole running on the Synology :(.

@samhh
Copy link

samhh commented Jul 20, 2018

I noticed it missing a few weeks ago. It was a new NAS and in the end I gave up; wiped the NAS clean and decided to just do my lftp transfer via a Pi with the NAS mounted. Not ideal, but does provide some nice separation of concerns I guess.

@Louike
Copy link

Louike commented Aug 6, 2018

i noticed the same thing, been using it for Pi-hole. Can someone explain to me how to build your own package using the download zip file?

@3clypse
Copy link

3clypse commented Aug 26, 2018

@Louike The easy way is to run it using Docker.
Moar info: https://hub.docker.com/r/pihole/pihole/

@hadesome1
Copy link

can anyone give me the link to download Debian-Chroot 8.4-7 offline spk package? i can't find it on Synology Community any more.

@zejjnt
Copy link

zejjnt commented Aug 28, 2018

I would also like to get this again. I have it on one of my devices though and it works fine with the latest version of DSM so if anyone can tell me how to pull the package from another device that would work too.

@phineco
Copy link

phineco commented Sep 6, 2018

@hadesome1 you can build the package in a docker environment.

@hgw77
Copy link

hgw77 commented Sep 28, 2018

+1

I also noticed today that debian chroot was removed from the package list. For me the debian chroot is running (after some small tweaks) very well. So I do not understand why it was removed. Please bring it back :-) So I have the possibility to reinstall it if necessary......

@HEYGUL
Copy link

HEYGUL commented Oct 8, 2018

The package is not available, and as a ds418 user, docker is not available too ...
Wanted to install pihole but seems it is not easily possible for the moment...

@oit63
Copy link
Author

oit63 commented Oct 25, 2018

I have compiled a bug fixed spk for ds3615xs(bromolow), and works on DSM 6.1,and 6.2.
But the size is more than 100m, which can not upload to github.
So if any good solution for uploading it, please tell me.

@Tao87-04
Copy link

maybe dropbox or mega?

@oit63
Copy link
Author

oit63 commented Nov 4, 2018

ok, I will try dropbox and mega

@Tao87-04
Copy link

Tao87-04 commented Nov 5, 2018

Nice, thanks:)

@VadVoci
Copy link

VadVoci commented Nov 8, 2018

@tenhow I need that packet compiled by you. Can you give me a download link? Please

@VadVoci
Copy link

VadVoci commented Nov 8, 2018

I cannot edit my previous post ..
@xnaas
"the package was deemed super unreliable and could brick systems if it was uninstalled" because o this trick: #1910 @Toka69 commented..
[
CHROOT=/usr/local/debian-chroot/var/chroottarget
mount -o bind /dev $CHROOT/dev
mount -o bind /proc $CHROOT/proc
mount -o bind /dev/pts $CHROOT/dev/pts
mount -o bind /sys $CHROOT/sys
mount -o bind /volume1 $CHROOT/volume1
mount -o bind /volume2 $CHROOT/volume2
cp /etc/resolv.conf $CHROOT/etc/resolv.conf
cp /etc/hosts $CHROOT/etc/hosts
#below, an example to launch ssh previously installed
chroot $CHROOT /etc/init.d/ssh start
]
Some stuff(files,folders and etc..) was mounted. But it's not exist a simple and fast option to unmount them before uninstalling the debian chroot app.
You should first delete that script from the shedulled task, then a restart of the synology machine and only then uninstall debian chroot app. This is safe way. (Because there is no stop and umount command) Otherwise .. there is a risk of deleting files from the synology system
After all, the only problem with the application is the gui interface. Everything else works very well, I could say even perfectly.
The application only needs a developer to fix its gui interface. That's the only issue to solve.
I apologize to my poor English..

@oit63
Copy link
Author

oit63 commented Nov 10, 2018

@VadVoci you can download here. Debian-Chroot

@schumi2004
Copy link
Contributor

There is no package for Alpine (DS715) architecture right ?

hgy59 added a commit to hgy59/spksrc that referenced this issue Nov 17, 2019
- Update Flexget to version 2.21.24
- Fix user and group creation
- Fix installation wizard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests