# Issue with latest update

**URL:** <https://help.egroupware.org/t/issue-with-latest-update/77073>\
**Category:** Developers\
**Created:** [October 5, 2022, 10:08pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073 "2022-10-05T22:08:42Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishakha](https://help.egroupware.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@vishakha](https://help.egroupware.org/u/vishakha)\
**Post date:** [October 5, 2022, 10:08pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/1 "2022-10-05T22:08:42Z")

</div>

Hello I just updated to the latest version with archive installation and getting below errors after login.

```auto
GEThttp://website/egroupware/api/js/jsapi/egw.min.js?[HTTP/1.1 404 Not Found 0ms]
Loading module from “http://website/egroupware/api/js/jsapi/egw.min.js?” was blocked because of a disallowed MIME type (“text/html”).
index.php
Loading failed for the module with source “http://website/egroupware/api/js/jsapi/egw.min.js?”. index.php:110:1
Uncaught TypeError: window.egw_ready is undefined
    <anonymous> http://website/egroupware/notifications/js/notificationajaxpopup.js?1665000577:19
    <anonymous> http://website/egroupware/notifications/js/notificationajaxpopup.js?1665000577:950
notificationajaxpopup.js:19

```

---

<div class="post-metadata">

**Author:** ![RalfBecker](https://help.egroupware.org/user_avatar/help.egroupware.org/ralfbecker/32/1307_2.png) [@RalfBecker](https://help.egroupware.org/u/RalfBecker)\
**Post date:** [October 6, 2022, 7:08am UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/2 "2022-10-06T07:08:35Z")

</div>

Looks like you used the first archives I uploaded, they were lacking the minified JavaScript sources.

Download it again, and it should work.

Ralf

---

<div class="post-metadata">

**Author:** ![vishakha](https://help.egroupware.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@vishakha](https://help.egroupware.org/u/vishakha)\
**Post date:** [October 6, 2022, 2:45pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/3 "2022-10-06T14:45:30Z")

</div>

I downloaded the version again and it’s still giving me this issue

```auto
GEThttp:/website/egroupware/api/js/jsapi/egw.min.js?
[HTTP/1.1 404 Not Found 0ms]

Loading module from “http://website/egroupware/api/js/jsapi/egw.min.js?” was blocked because of a disallowed MIME type (“text/html”)

```

---

<div class="post-metadata">

**Author:** ![vishakha](https://help.egroupware.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@vishakha](https://help.egroupware.org/u/vishakha)\
**Post date:** [October 6, 2022, 3:45pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/4 "2022-10-06T15:45:28Z")

</div>

Actually it’s giving the same two issues as first time with  
Uncaught TypeError: window.egw\_ready is undefined  
and egw.min.js

---

<div class="post-metadata">

**Author:** ![RalfBecker](https://help.egroupware.org/user_avatar/help.egroupware.org/ralfbecker/32/1307_2.png) [@RalfBecker](https://help.egroupware.org/u/RalfBecker)\
**Post date:** [October 7, 2022, 6:36am UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/5 "2022-10-07T06:36:01Z")

</div>

`api/js/jsapi/egw.min.js` gibt es nicht und soll es auch nicht geben. Schau mal in Deiner Document Root ob das File evtl. bei Dir vorhanden aber nicht lesbar ist, dann lösche es einfach.

Die Datei die es gibt heißt `api/js/jsapi.min.js` und die ist auch in dem aktuellen (.bz2) Archive enthalten, habe es gerade nochmal runter geladen und entpackt.

> Warum verwendest Du nicht die Standard Installation, die hat mehr Features (z.B. Push) und ist einfacher zu handhaben?

Ralf

---

<div class="post-metadata">

**Author:** ![vishakha](https://help.egroupware.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@vishakha](https://help.egroupware.org/u/vishakha)\
**Post date:** [October 7, 2022, 2:16pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/6 "2022-10-07T14:16:27Z")

</div>

what is the standard installation ?

---

<div class="post-metadata">

**Author:** ![StefanU](https://help.egroupware.org/user_avatar/help.egroupware.org/stefanu/32/11_2.png) [@StefanU](https://help.egroupware.org/u/StefanU)\
**Post date:** [October 7, 2022, 5:23pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/7 "2022-10-07T17:23:05Z")

</div>

> **[Installation using EGroupware docker RPM DEB package](https://github.com/EGroupware/egroupware/wiki/Installation-using-egroupware-docker-RPM-DEB-package#for-a-new-211-installation)**
>
> Web based groupware server written in PHP, forum at https://help.egroupware.org/ - EGroupware/egroupware

Stefan

---

<div class="post-metadata">

**Author:** ![vishakha](https://help.egroupware.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@vishakha](https://help.egroupware.org/u/vishakha)\
**Post date:** [October 7, 2022, 8:04pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/8 "2022-10-07T20:04:12Z")

</div>

There is no file in the js directory by that name. However I found references in the code for that file and also I noticed there’s no jsapi.min.js it’s only jsapi.js.

Framework.php file

```auto
// load our clientside entrypoint egw.min.js with a cache-buster
		$java_script .= '<script type="module" src="'.$GLOBALS['egw_info']['server']['webserver_url'].
			'/api/js/jsapi/egw.min.js?'.filemtime(EGW_SERVER_ROOT.'/api/js/jsapi/egw.min.js').
			'" id="egw_script_id"';

/**
	 * Constructor for static variables
	 */
	public static function init_static()
	{
		self::$js_include_mgr = new Framework\IncludeMgr(array(
			// We need LABjs, but putting it through Framework\IncludeMgr causes it to re-load itself
			//'/api/js/labjs/LAB.src.js',

			// always load jquery (not -ui) first
			'/vendor/bower-asset/jquery/dist/jquery.js',
			// always include javascript helper functions
			'/api/js/jsapi.min.js',
			'/api/js/jsapi/egw.min.js',
		));
	}

```

Bundle.php

```auto
foreach($js_includes as $file)
		{
			if (in_array($file, ['/api/js/jsapi/egw.js','/api/js/jsapi/egw.min.js'])) continue;	// loaded via own tag, and we must not load it twice!

```

I did not find jsapi.min.js, there’s only jsapi.js. Also egw.min.js is non existant in the directory.

How complicated will it be to change the installation to docker

---

<div class="post-metadata">

**Author:** ![StefanU](https://help.egroupware.org/user_avatar/help.egroupware.org/stefanu/32/11_2.png) [@StefanU](https://help.egroupware.org/u/StefanU)\
**Post date:** [October 8, 2022, 9:27am UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/9 "2022-10-08T09:27:13Z")

</div>

> [@vishakha](#):
>
> How complicated will it be to change the installation to docker

Not complicated. If the conditions fit.

For you, because you don’t have a package installation:

Installation on a suitable system  
Example:

> [@Installation EGroupware on IONOS vServer (VPS)](https://help.egroupware.org/t/installation-egroupware-on-ionos-vserver-vps/76923):
>
> de [Installation EGroupware auf IONOS vServer (VPS)](https://help.egroupware.org/t/installation-egroupware-auf-ionos-vserver-vps/76890) + [image] This article describes the installation and operation of EGroupware on an IONOS vServer (VPS). For a standard installation, EGroupware expects one instance/server/… for itself alone. Why this is so: [de (uk) Folien/Vortrag - slides/lecture Kielux 2021: Docker für EGroupware](https://help.egroupware.org/t/de-uk-folien-vortrag-slides-lecture-kielux-2021-docker-fur-egroupware/76230) Of course, EGroupware can also be integrated and operated in existing Docker environments. Quite possibly also on NAS with Docke…

Copy files (including backup) to new system  
Read also:

> [@Backup of EGroupware](https://help.egroupware.org/t/backup-of-egroupware/76071):
>
> de [Backup einer EGroupware](https://help.egroupware.org/t/backup-einer-egroupware/76069) EGroupware should be backed up regularly, at the latest in live operation! A comprehensive backup consists of three steps: 1. the internal EGroupware data backup should be configured, 2. the data directory be backed up, 3. and the installation itself/the VM are backed up. To 1.: internal EGroupware database backup. The database data backup is available under Admin/Admin/DB Backup and restore to configure: Multiple data backup plans can be create…

Import backup  
Ready

* * *

Please read also:

> [@de (uk) Folien/Vortrag - slides/lecture Kielux 2021: Docker für EGroupware](https://help.egroupware.org/t/de-uk-folien-vortrag-slides-lecture-kielux-2021-docker-fur-egroupware/76230):
>
> uk I gave the lecture in German. But I translated the slides into English: [Kielux 2021 Docker for EGroupware Handout EN.pdf](https://help.egroupware.org/uploads/default/original/2X/7/73197f87e4c8f5d38c23ab78aabebd4ed17ab9eb.pdf) (1.6 MB) I have also translated the questions asked in the lecture in the slides. Sorry for the German screenshots… de Hallo Zusammen, wie angekündigt: habe ich mit Ralf einen Vortrag gehalten: [Docker für EGroupware](https://kielux.de/p/KOLT21#529) Oder: Warum wir Docker als Basis für EGroupware-Installationen verwenden Die Folien und das Vortragsvideo stehen nun bereit. Die Fragen aus …

Stefan

---

<div class="post-metadata">

**Author:** ![vishakha](https://help.egroupware.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@vishakha](https://help.egroupware.org/u/vishakha)\
**Post date:** [October 11, 2022, 2:45pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/10 "2022-10-11T14:45:15Z")

</div>

Hi Ralf @RalfBecker  
Any idea why this happening ?

---

<div class="post-metadata">

**Author:** ![vishakha](https://help.egroupware.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@vishakha](https://help.egroupware.org/u/vishakha)\
**Post date:** [October 14, 2022, 7:46pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/11 "2022-10-14T19:46:24Z")

</div>

even on docker test setup these issues are happening. Please advice

---

<div class="post-metadata">

**Author:** ![vishakha](https://help.egroupware.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@vishakha](https://help.egroupware.org/u/vishakha)\
**Post date:** [October 24, 2022, 5:56pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/12 "2022-10-24T17:56:27Z")

</div>

Hello @RalfBecker  
Is there something you can suggest for the above two issues

---

<div class="post-metadata">

**Author:** ![RalfBecker](https://help.egroupware.org/user_avatar/help.egroupware.org/ralfbecker/32/1307_2.png) [@RalfBecker](https://help.egroupware.org/u/RalfBecker)\
**Post date:** [October 24, 2022, 6:44pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/13 "2022-10-24T18:44:57Z")

</div>

No, does not happen for me.

It must be something in your environment.

Hundreds of installations using the docker container, and you are the only one reporting that problem.

Sorry ☹

Ralf

---

<div class="post-metadata">

**Author:** ![vishakha](https://help.egroupware.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@vishakha](https://help.egroupware.org/u/vishakha)\
**Post date:** [October 25, 2022, 5:39pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/14 "2022-10-25T17:39:12Z")

</div>

okay yeah I understand about docker installation  
I have always updated to the latest version by archive installation and this is the first time I received these issues regarding js files on my non docker environment.  
It was from the october version, any ideas to get rid of these will be appreciated.  
Also will there be any other maintenance release version soon ?

---

<div class="post-metadata">

**Author:** ![vishakha](https://help.egroupware.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@vishakha](https://help.egroupware.org/u/vishakha)\
**Post date:** [October 31, 2022, 3:13pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/15 "2022-10-31T15:13:04Z")

</div>

Hi Ralf @RalfBecker

These two issues only came up after the latest update of egroupware and I’m stuck because we need to get the php 8.1 upgrade going.

I understand I might be the only one getting these issues but I have always been updated to the latest version with my archive installation but never got stalled like this before.

If there’s anything you can suggest that would be great.

One question, will now the latest version work with Composer 2 ?  
I have been using Composer 1, should I upgrade for the archive installation

---

<div class="post-metadata">

**Author:** ![RalfBecker](https://help.egroupware.org/user_avatar/help.egroupware.org/ralfbecker/32/1307_2.png) [@RalfBecker](https://help.egroupware.org/u/RalfBecker)\
**Post date:** [October 31, 2022, 5:56pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/16 "2022-10-31T17:56:44Z")

</div>

> [@vishakha](#):
>
> One question, will now the latest version work with Composer 2 ?

Yes, we are supporting the current Compose 2.x since a while now.

You can do a composer installation, that is what we do to create the container and it’s relativ easy to upgrade. It’s described in the [Readme](https://github.com/EGroupware/egroupware#deprecated-egroupware-development-installation).

Ralf

---

<div class="post-metadata">

**Author:** ![vishakha](https://help.egroupware.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@vishakha](https://help.egroupware.org/u/vishakha)\
**Post date:** [October 31, 2022, 6:16pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/17 "2022-10-31T18:16:46Z")

</div>

I have been upgrading egroupware with composer  
composer create-project --prefer-source --keep-vcs egroupware/egroupware.

Is this still a valid way because I did it again and it’s giving me older version.

```auto
Creating a "egroupware/egroupware" project at "./egroupware"
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Info from https://repo.packagist.org: #StandWithUkraine
Installing egroupware/egroupware (20.1.20210503)
  - Installing egroupware/egroupware (20.1.20210503): Cloning fdaa1d1bcd from cache

```

---

<div class="post-metadata">

**Author:** ![RalfBecker](https://help.egroupware.org/user_avatar/help.egroupware.org/ralfbecker/32/1307_2.png) [@RalfBecker](https://help.egroupware.org/u/RalfBecker)\
**Post date:** [October 31, 2022, 6:37pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/18 "2022-10-31T18:37:29Z")

</div>

Maybe that’s caused by your Composer 1.x, I would try it with an up-to-date Composer, for our container-build we always use the newest version:

[https://github.com/EGroupware/egroupware/blob/21.1/doc/docker/fpm/Dockerfile#L76](https://github.com/EGroupware/egroupware/blob/21.1/doc/docker/fpm/Dockerfile#L76)

Alternativ you can clone the EGroupware main repo and use our install-cli.php script to get the other depending repos. But you need Composer and npm with grunt-cli installed!

Ralf

---

<div class="post-metadata">

**Author:** ![vishakha](https://help.egroupware.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@vishakha](https://help.egroupware.org/u/vishakha)\
**Post date:** [October 31, 2022, 6:48pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/19 "2022-10-31T18:48:02Z")

</div>

okay updated composer and ran this command  
composer create-project --prefer-source --keep-vcs egroupware/egroupware

It gives this error

[InvalidArgumentException]  
Could not find package egroupware/egroupware. with stability stable.

---

<div class="post-metadata">

**Author:** ![vishakha](https://help.egroupware.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@vishakha](https://help.egroupware.org/u/vishakha)\
**Post date:** [October 31, 2022, 9:03pm UTC](https://help.egroupware.org/t/issue-with-latest-update/77073/20 "2022-10-31T21:03:09Z")

</div>

here’s what I did like you suggested

1. clone the EGroupware main repo and use our install-cli.php script to upgrade to latest version
2. it was installed successfully, cleared cache in setup and tried to login, same error as below,

```auto
egroupware/api/js/jsapi/egw.min.js?
[HTTP/1.1 404 Not Found 0ms]

Loading module from “egroupware/api/js/jsapi/egw.min.js?” was blocked because of a disallowed MIME type (“text/html”)

```

I found the file that contains reference to this script, Framework.php

```auto
// load our clientside entrypoint egw.min.js with a cache-buster
		$java_script .= '<script type="module" src="'.$GLOBALS['egw_info']['server']['webserver_url'].
			'/api/js/jsapi/egw.min.js?'.filemtime(EGW_SERVER_ROOT.'/api/js/jsapi/egw.min.js').
			'" id="egw_script_id"';

```

I replaced the file here with jsapi.js and it gives me jquery undefined after.

Despite cloning the repo as it is, it’s giving me the same issue as in the beginning.

[Next page](https://help.egroupware.org/t/issue-with-latest-update/77073.md?page=2)
