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

Nextcloud 27 compatibility #1069

Closed
mueslo opened this issue Jun 13, 2023 · 23 comments
Closed

Nextcloud 27 compatibility #1069

mueslo opened this issue Jun 13, 2023 · 23 comments

Comments

@mueslo
Copy link

mueslo commented Jun 13, 2023

Nextcloud 27.0.0 was released today. However, none of the maps releases currently available have NC27 listed as a compatible release. It would be good to get either a compatible release or a timeline for a compatible release.

@hugalafutro
Copy link

hugalafutro commented Jun 23, 2023

Not compatible with 26.0.3 stable either:

A new version is available: Nextcloud 26.0.3
3 apps have no compatible version for this Nextcloud version available.

Apps missing compatible version 
[Extract ↗](https://apps.nextcloud.com/apps/extract)
[Maps ↗](https://apps.nextcloud.com/apps/maps)
[Video converter ↗](https://apps.nextcloud.com/apps/video_converter)

edit:
strangely enough though, after going forward with the update to 26.0.3, during the update only the other 2 apps were listed as incompatible so I dunno

Nextcloud will be updated to version 26.0.3
These incompatible apps will be disabled:
Extract (extract)
Video converter (video_converter)
Please make sure that the database, the config folder and the data folder have been backed up before proceeding.

@louim-lbs
Copy link

I just updated to 26.0.3. Maps wasn't shown as incompatible, and everything works fine, for now.

@hugalafutro
Copy link

@louim-lbs I edited my post, the incompability for Maps only showed from the Nextcloud UI, once the actual upgrade started it suddenly wasn't listed for reasons unknown.

@tacruc
Copy link
Collaborator

tacruc commented Jun 25, 2023

Can you test the v1.1.0-nightly, then we can release something for NC27 soon.

@pwepwe973

This comment was marked as off-topic.

@DuneJeeper
Copy link

Upgraded to 27.0 Maps unable to enable.

@jessebot
Copy link

jessebot commented Jul 1, 2023

When I try to enable the maps app (version 1.1.0) on Nextcloud 27 via the web UI, I get:

An error occurred during the request. Unable to proceed.
Autoload path not allowed: /var/www/html/custom_apps/maps/appinfo/application.php

I'm using the nextcloud docker image if that helps. Happy to give other details that might be helpful.

@tacruc
Copy link
Collaborator

tacruc commented Jul 2, 2023

Can you test if deleting the ../appinfo/applications.php helps? The file is empty I don't know why the AIO container cares about it.

@DuneJeeper
Copy link

DuneJeeper commented Jul 2, 2023

Had 2 php's. application.php and app.php. Had to delete both to enable. Maps now an icon at top of NC. Doesn't load a map. "Your" of "your photos" is jumbled. Settings menu doesn't load.

@tacruc
Copy link
Collaborator

tacruc commented Jul 2, 2023

the app.php is important.

@DuneJeeper
Copy link

the app.php is important.

Wouldn't load at all without both php's gone. Tried every combination. With both gone it appeared but was non-functional. Running NC 27.0 docker on unRAID.

@alaskanpuffin
Copy link
Contributor

@DuneJeeper I had to restart the docker container after deleting application.php and I was able to enable it.

@DuneJeeper
Copy link

@DuneJeeper I had to restart the docker container after deleting application.php and I was able to enable it.

Followed your steps. Could not replicate. It let me enable. It never appeared so I could get to it. First went to disabled. I enabled from there, but nothing appears so I can launch it.

@tacruc
Copy link
Collaborator

tacruc commented Jul 4, 2023

I have problems to reproduce this Issue it would be helpful if someone finds the crutial difference between this instances where the issue occurs and where it doesn't.
On this configuration I couldn't reproduce the Issue:

System 1
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "tempdirectory": "\/tmp\/",
        "filelocking.enabled": "true",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0
        },
        "dbtype": "mysql",
        "version": "27.0.0.8",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "forcessl": true,
        "forceSSLforSubdomains": true,
        "allow_local_remote_servers": true,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "loglevel": 3,
        "maintenance": false,
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\Krita"
        ],
        "appstore.experimental.enabled": true,
        "remember_login_cookie_lifetime": 1296000,
        "session_lifetime": 86400,
        "session_keepalive": true,
        "trashbin_retention_obligation": "auto",
        "knowledgebaseenabled": true,
        "logtimezone": "Europe\/Berlin",
        "default_phone_region": "AT",
        "cron_log": true,
        "log_rotate_size": 10857600,
        "theme": "",
        "updatechecker": false,
        "htaccess.RewriteBase": "\/",
        "check_for_working_wellknown_setup": true,
        "check_for_working_htaccess": true,
        "appstoreenabled": true,
        "updater.release.channel": "beta",
        "singleuser": false,
        "mysql.utf8mb4": true,
        "app_install_overwrite": [
            "phonetrack",
            "spreed",
            "calendar",
            "impersonate",
            "onlyoffice",
            "drawio",
            "qownnotesapi",
            "tasks",
            "news",
            "dicomviewer",
            "maps",
            "social",
            "cookbook",
            "checksum",
            "workflow_ocr",
            "metadata",
            "gpgmailer",
            "issuetemplate",
            "end_to_end_encryption",
            "camerarawpreviews",
            "twofactor_nextcloud_notification",
            "recognize",
            "facerecognition",
            "bookmarks",
            "workflow_script",
            "video_converter",
            "files_readmemd",
            "previewgenerator",
            "uppush",
            "files_photospheres",
            "fulltextsearch",
            "bookmarks_fulltextsearch",
            "fulltextsearch_elasticsearch",
            "files_fulltextsearch",
            "files_fulltextsearch_tesseract"
        ],
        "mail_sendmailmode": "smtp",
        "mail_smtpauthtype": "PLAIN",
        "memories.ffmpeg_path": "\/usr\/bin\/ffmpeg",
        "memories.ffprobe_path": "\/usr\/bin\/ffprobe",
        "memories.transcoder": "\/srv\/www\/nextcloud\/apps\/memories\/exiftool-bin\/go-vod-amd64",
        "memories.no_transcode": false,
        "memories.qsv": false,
        "memories.gis_type": 1,
        "mail_smtpsecure": "ssl",
        "mail_smtpauth": 1,
        "memories.exiftool_no_local": true,
        "memories.vod.path": "\/srv\/www\/nextcloud\/apps\/memories\/exiftool-bin\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe"
    }
}
dev-docker
{
    "system": {
        "debug": true,
        "profiler": true,
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/apps-extra",
                "url": "\/apps-extra",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/apps-shared",
                "url": "\/apps-shared",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/apps-writable",
                "url": "\/apps-writable",
                "writable": true
            }
        ],
        "allow_local_remote_servers": true,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "1025",
        "skeletondirectory": "\/skeleton",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "nextcloud",
            "172.17.0.2",
            "localhost"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "sqlite3",
        "version": "27.0.0.8",
        "overwrite.cli.url": "http:\/\/localhost",
        "updater.release.channel": "git",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "lookup_server": "",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "loglevel": 2,
        "maintenance": false
    }
}

@jessebot
Copy link

jessebot commented Jul 5, 2023

After I deleted application.php as suggested, then the app showed an official update in the console (for some reason it was now showing as the old stable version), I clicked update and then enabled it and all is working now 🤷

Screenshot from 2023-07-05 of the maps app in the nextcloud apps console showing enabled and at version 1.1.0

I'm not entirely sure what caused this or how it was fixed as that file was indeed empty.

Edit: It may have started working after I temporary changed the Update channel to beta at one point while testing something else. This setting is under settings/admin/overview:

screenshot of update area Screenshot 2023-07-05 at 16 50 10

@Hans1Hansen
Copy link

Maybe a similar problem.
Nextcloud 26.0.3. Cannot be updated to 27.0 because one app is not compatible, Maps 1.0.2
A coupe of hours ago I got the information that Maps 1.1.0 is available througt the internal Nextcloud notification. But when I go to apps, Maps cannot be updateted (showing no Update button)
Deactivating the app and reactivating does not change anything.
If I deactivate and delete the app, it cannot be installed again and is now completely missing in the internal appstore.

Looks like my Nextcloud thinks that Maps is incompatible to my instance and does not show it as installable again. For I am using a VM i could reset to a snapshot with a working Maps, but with the older version, of course.
What can I do to force an update?

Cheers, Hans

@Hans1Hansen
Copy link

Hans1Hansen commented Jul 5, 2023

I ignored the app warning and upgraded NC to 27.0
The update worked, Maps looks like this:
image
I can either delete the app or activate an untested app
When I choose activate, Maps starts. But I am not sure, how stable this will work. Again, no available update for Maps is shown.
image
Deleting the app offers the old version again:
image

@tacruc
Copy link
Collaborator

tacruc commented Jul 5, 2023

@Hans1Hansen maps v1.1.0 requires at least PHP 8.1. Might this he the reason why no update is shown for you?

@Hans1Hansen
Copy link

@tacruc Bingo! That's right. I still use PHP version 8.0.28. NC 27 warns, but still works with it. Maps does not. Thank you very much! Your answer ended my senseless search for a solution.

@Hans1Hansen
Copy link

Info for people who try, too:
On NC 26 I updated to PHP 8.1. Nevertheless no update available for Maps 1.0.3
Updated to NC 27 either. Now Maps shows version 1.1.0.

@monkeyhybrid
Copy link

I just enabled Maps 1.1.0 on my Nextcloud 27 instance, and it appears to be working perfectly with no other intervention required.

For the record, I'm using PHP 8.1.

@ppfeufer
Copy link

ppfeufer commented Jul 5, 2023

I got it as an update on NC 26.0.2 with PHP 8.2. No issues. Still waiting on https://github.com/nextcloud/twofactor_admin before I update to NC26.0.3 or even 27 though

@Holger79
Copy link

Holger79 commented Jul 5, 2023

I don't know if it helps but here is my observation, I am using the latest Nextcloud Docker 27 image.
I could not enable the app and always got the error: "Autoload path not allowed:"
After deleting the applications.php I was able to activate the app. After that I removed the app again and downloaded it again and now it could be activated the app despite the fact that the applications.php ist still present.

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