Unable to uninstall jenkins

An error occurred: No container found. Unable to run store_data!

Further information can be found in the following log file on each of the involved systems:
/var/log/univention/appcenter.log

7659 actions.get.progress 19-12-06 14:34:42 [ DEBUG]: 100
7663 cache 19-12-06 14:34:43 [ DEBUG]: Cache outdated. Need to rebuild
7663 cache 19-12-06 14:34:43 [ DEBUG]: Loaded 104 apps from cache
7663 cache 19-12-06 14:34:43 [ DEBUG]: Cache outdated. Need to rebuild
7663 cache 19-12-06 14:34:43 [ DEBUG]: Loaded 219 apps from cache
7663 cache 19-12-06 14:34:43 [ DEBUG]: Cache outdated. Need to rebuild
7663 cache 19-12-06 14:34:43 [ DEBUG]: Loaded 219 apps from cache
7663 cache 19-12-06 14:34:43 [ DEBUG]: Cache outdated. Need to rebuild
7663 cache 19-12-06 14:34:43 [ DEBUG]: Loaded 394 apps from cache
7663 actions.get 19-12-06 14:34:43 [ DEBUG]: Calling get
7663 actions.get.progress 19-12-06 14:34:43 [ DEBUG]: 0
7663 actions.get 19-12-06 14:34:43 [ INFO]: appcenter/apps/jenkins/container
7663 actions.get.progress 19-12-06 14:34:43 [ DEBUG]: 100
7668 cache 19-12-06 14:34:43 [ DEBUG]: Cache outdated. Need to rebuild
7668 cache 19-12-06 14:34:43 [ DEBUG]: Loaded 104 apps from cache
7668 cache 19-12-06 14:34:43 [ DEBUG]: Cache outdated. Need to rebuild
7668 cache 19-12-06 14:34:44 [ DEBUG]: Loaded 219 apps from cache
7668 cache 19-12-06 14:34:44 [ DEBUG]: Cache outdated. Need to rebuild
7668 cache 19-12-06 14:34:44 [ DEBUG]: Loaded 219 apps from cache
7668 cache 19-12-06 14:34:44 [ DEBUG]: Cache outdated. Need to rebuild
7668 cache 19-12-06 14:34:44 [ DEBUG]: Loaded 394 apps from cache
7668 actions.get 19-12-06 14:34:44 [ DEBUG]: Calling get
7668 actions.get.progress 19-12-06 14:34:44 [ DEBUG]: 0
7668 actions.get 19-12-06 14:34:44 [ INFO]: 2.190.1
7668 actions.get.progress 19-12-06 14:34:44 [ DEBUG]: 100
5338 actions.remove 19-12-06 14:34:45 [ INFO]: Running 51jenkins-uninstall.uinst done
5338 actions.remove 19-12-06 14:34:46 [ INFO]: Running post-joinscripts hook(s): done
5338 actions.remove 19-12-06 14:34:46 [ DEBUG]: /usr/sbin/univention-run-join-scripts returned with 0
5338 packages 19-12-06 14:34:46 [ DEBUG]: Releasing LOCK
5338 utils 19-12-06 14:34:46 [ DEBUG]: send_information: action=remove app=jenkins value=None status=200
5338 utils 19-12-06 14:34:46 [ DEBUG]: tracking information: {‘status’: 200, ‘uuid’: ‘00000000-0000-0000-0000-000000000000’, ‘app’: u’jenkins’, 'vers$
5338 actions.upgrade-search 19-12-06 14:34:47 [ DEBUG]: Calling upgrade-search
5338 actions.upgrade-search.progress 19-12-06 14:34:47 [ DEBUG]: 0
5338 actions.upgrade-search 19-12-06 14:34:47 [ DEBUG]: Checking 4.3/jenkins=2.190.1
5338 actions.upgrade-search.progress 19-12-06 14:34:47 [ DEBUG]: 100
5338 actions.remove.progress 19-12-06 14:34:47 [ DEBUG]: 100

If you already purged the container in another way, then you can pass an argument to univention-app to skip trying to back it up:

$ univention-app remove jenkins --do-not-backup

Administrator@DC : ~ $ univention-app remove jenkins --do-not-backup

Traceback (most recent call last):

File “/usr/bin/univention-app”, line 41, in

locale.setlocale(locale.LC_ALL, locale.getdefaultlocale())

File “/usr/lib/python2.7/locale.py”, line 545, in getdefaultlocale

return _parse_localename(localename)

File “/usr/lib/python2.7/locale.py”, line 477, in _parse_localename

raise ValueError, ‘unknown locale: %s’ % localename

ValueError: unknown locale: UTF-8

that may be something that a univention developer can answer better. Seems you are using (at least be univention standards) an unusual locale?

is there any other way to reinstall ?

I heard of a recent case where the locale was configured incorrectly for UCS by a modified .profile .bashrc or ssh config (SendEnv option). Make sure that LC_CTYPE has a correct locale. Check the output of locale, there should be no warnings.

please tell me how to do that.

the answer to that was already in the last reply:

locale

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory

LANG=en_IN.UTF-8

LANGUAGE=

LC_CTYPE=UTF-8

LC_NUMERIC=“en_IN.UTF-8”

LC_TIME=“en_IN.UTF-8”

LC_COLLATE=“en_IN.UTF-8”

LC_MONETARY=“en_IN.UTF-8”

LC_MESSAGES=“en_IN.UTF-8”

LC_PAPER=“en_IN.UTF-8”

LC_NAME=“en_IN.UTF-8”

LC_ADDRESS=“en_IN.UTF-8”

LC_TELEPHONE=“en_IN.UTF-8”

LC_MEASUREMENT=“en_IN.UTF-8”

LC_IDENTIFICATION=“en_IN.UTF-8”

LC_ALL=

"sudo dpkg-reconfigure locales "

and make your selection. Then you can try again the installation

sudo dpkg-reconfigure locales

[sudo] password for Administrator:

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LC_CTYPE = “UTF-8”,

LANG = “en_IN.UTF-8”

are supported and installed on your system.

perl: warning: Falling back to a fallback locale (“en_IN.UTF-8”).

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory

/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory

/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory

Generating locales (this might take a while)…

en_IN.UTF-8… done

en_US.UTF-8… done

de_DE.UTF-8… done

Generation complete.

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LC_CTYPE = “UTF-8”,

LANG = “C”

are supported and installed on your system.

perl: warning: Falling back to the standard locale (“C”).

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LC_CTYPE = “UTF-8”,

LANG = “C”

are supported and installed on your system.

perl: warning: Falling back to the standard locale (“C”).

UMC > System > Language ?


Asia/Kolkata
Time zone

Generic 105-key (Intl) PC
Keyboard model

English (US)
Keyboard layout

Keyboard variant
Installed system locales
Select all
English (India)
English (United States)
German (Germany)

English (India)
Default system locale

and: $ localedef -i en_US -f UTF-8 en_US.UTF-8 #adjust to your needs ?

not understood. can you please let me know the steps?

in your terminal, as root, enter: $ localedef -i en_US -f UTF-8 en_US.UTF-8
should giving you at least one locale
Sorry, I am in gmt +7, so I am sometimes a bit before/behind

root@DC : ~ # localedef -i en_US -f UTF-8 en_US.UTF-8

root@DC : ~ #

now you can install?

Mastodon