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

owncloud --version reports Using virtual files plugin: off #9155

Closed
JoKalliauer opened this issue Oct 15, 2021 · 10 comments · Fixed by #9457
Closed

owncloud --version reports Using virtual files plugin: off #9155

JoKalliauer opened this issue Oct 15, 2021 · 10 comments · Fixed by #9457
Assignees
Labels
Linux p2-high Escalation, on top of current planning, release blocker
Milestone

Comments

@JoKalliauer
Copy link

Expected behaviour

owncloud --version should report Using virtual files plugin: suffix

Actual behaviour

owncloud --version reports Using virtual files plugin: off

Steps to reproduce

  1. owncloud --version

Screenshot

Screenshot from 2021-10-15 15-43-13

Server configuration

Web server: https://owncloud.tuwien.ac.at

ownCloud version: https://owncloud.tuwien.ac.at/status.php

name value
installed true
maintenance false
needsDbUpgrade false
version "10.7.0.4"
versionstring "10.7.0"
edition "Enterprise"
productname "ownCloud TU Wien"

Client configuration

Client version: owncloud --version

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
ownCloud ownCloud 2.9.1 (build 5500) Oct 13 2021 08:34:12
https://github.com/owncloud/client/commit/42fb299cadd56dc5b7f99bb6946f5bed8a53a2eb
Libraries Qt 5.12.10, OpenSSL 1.1.1l  FIPS 24 Aug 2021
Using virtual files plugin: off
fedora-5.14.11-200.fc34.x86_64

Operating system: $ hostnamectl

 Static hostname: lws84.imws.tuwien.ac.at
       Icon name: computer-laptop
         Chassis: laptop
      Machine ID: 96434f58f7644401a3f9d69da903899d
         Boot ID: ce0b799699ae4148ae05550cf1937bb7
Operating System: Fedora 34 (Workstation Edition) 
     CPE OS Name: cpe:/o:fedoraproject:fedora:34
          Kernel: Linux 5.13.15-200.fc34.x86_64
    Architecture: x86-64
 Hardware Vendor: Lenovo

OS language: $ locale

LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC=de_AT.UTF-8
LC_TIME=de_AT.UTF-8
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY=de_AT.UTF-8
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER=de_AT.UTF-8
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT=de_AT.UTF-8
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

Qt version used by client package (Linux only, see also Settings dialog):

ownCloud 2.9.1 (build 5500) 42fb29 Oct 13 2021 08:34:12
Libraries Qt 5.12.10, OpenSSL 1.1.1l FIPS 24 Aug 2021
Using virtual files plugin: suffix
fedora-5.14.11-200.fc34.x86_64

Client package (From ownCloud or distro) (Linux only): $ dnf list owncloud*

Installed Packages
owncloud-client.x86_64                   2.9.1-5500   @owncloud
owncloud-client-nautilus.x86_64          2.9.1-5500   @owncloud
owncloud-client-nemo.x86_64              2.9.1-5500   @owncloud
owncloud-client-overlays-icons.x86_64    2.9.1-5500   @owncloud

Installation path of client:
/opt/ownCloud/ownCloud/bin/owncloud

Logs

see #9052 (comment)

@michaelstingl
Copy link
Contributor

Related? #8174 (was fixed in 2.7)

Regression?

@github-actions
Copy link

This issue was marked stale because it has been open for 30 days with no activity. Remove the stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Nov 15, 2021
@TheOneRing TheOneRing removed the Stale label Nov 15, 2021
@TheOneRing TheOneRing added this to the 2.9.3 milestone Nov 15, 2021
@TheOneRing TheOneRing modified the milestones: 2.10, 2.10.1 Feb 14, 2022
@TheOneRing TheOneRing added the p2-high Escalation, on top of current planning, release blocker label Feb 14, 2022
@fmoc fmoc removed their assignment Feb 17, 2022
@TheOneRing
Copy link
Contributor

We had the issue before and the issue used to be that we printed the about text before we loaded the plugins...

@JoKalliauer
Copy link
Author

It is not ideal, but the easiest workaround would be to just remove this line (for linux).

@TheOneRing
Copy link
Contributor

Also

#if defined(OC_PLUGIN_DIR) && defined(Q_OS_LINUX)
const QString extraPluginDir = QDir(QApplication::applicationDirPath()).filePath(QStringLiteral(OC_PLUGIN_DIR));
for or package manager based installs.

@fmoc
Copy link
Contributor

fmoc commented Feb 18, 2022

Moving the snippet

#if defined(OC_PLUGIN_DIR) && defined(Q_OS_LINUX)
const QString extraPluginDir = QDir(QApplication::applicationDirPath()).filePath(QStringLiteral(OC_PLUGIN_DIR));
qCInfo(lcApplication) << "Adding extra plugin search path:" << extraPluginDir;
this->addLibraryPath(extraPluginDir);
#endif
before the parseOptions call should fix the issue.

@erikjv
Copy link
Collaborator

erikjv commented Feb 18, 2022

lgtm

@gabi18
Copy link
Contributor

gabi18 commented Mar 21, 2022

Issue still seen with client 2.10.1-rc1 on openSUSE 15.3

suffix-off

While "About" popup shows it correctly:

about-version

03-21 09:06:30:718 [ debug default ]    [ OCC::Logger::setLogRules ]:   "gui.*.debug=true\nsync.*.debug=true\n"
03-21 09:06:30:719 [ debug default ]    [ OCC::Logger::setLogRules ]:   "sync.httplogger=true\ngui.*.debug=true\nsync.*.debug=true\n"
03-21 09:06:30:741 [ info gui.application ]:    ################## "ownCloud" locale: "de_DE" version: "ownCloud 2.10.1rc1 (build 7023) a46ce4 Mar 15 2022 09:59:04 Libraries Qt 5.12.10, OpenSSL 1.1.1d  10 Sep 2019 Using virtual files plugin: suffix opensuse-leap-5.3.18-59.40-default"
03-21 09:06:30:741 [ info gui.application ]:    Arguments: ("./owncloud", "--logfile", "-", "--logflush", "--logdebug")
03-21 09:06:30:741 [ debug gui.application ]    [ OCC::Application::setupTranslations ]:        Translations directory path: ":/client/translations/"
03-21 09:06:30:741 [ debug gui.application ]    [ OCC::Application::setupTranslations ]:        UI languages: ("de-DE")
03-21 09:06:30:741 [ debug gui.application ]    [ OCC::Application::setupTranslations ]:        Theme-enforced locale: ""
03-21 09:06:30:741 [ debug gui.application ]    [ OCC::Application::setupTranslations ]:        Enforced languages: QSet("de")
03-21 09:06:30:746 [ info gui.application ]:    Using "de" translation
03-21 09:06:30:746 [ debug gui.application ]    [ OCC::Application::setupTranslations ]:        qtTrPath: "/opt/ownCloud/qt-5.12.10/share/qt5/translations"
03-21 09:06:30:746 [ debug gui.application ]    [ OCC::Application::setupTranslations ]:        qtTrFile: "qt_de"
03-21 09:06:30:746 [ debug gui.application ]    [ OCC::Application::setupTranslations ]:        qtBaseTrFile: "qtbase_de"
03-21 09:06:30:749 [ critical gui.application ]:        Could not load qtkeychain translations
03-21 09:06:30:749 [ debug gui.application ]    [ OCC::Application::setupTranslations ]:        language "de" was enforced, changing default locale to QLocale(German, Latin, Germany)
03-21 09:06:30:750 [ info gui.application ]:    Plugin search paths: ("/opt/ownCloud/ownCloud/lib64/plugins", "/opt/ownCloud/qt-5.12.10/lib64/qt5/plugins", "/opt/ownCloud/ownCloud/bin")
03-21 09:06:30:750 [ info gui.application ]:    VFS suffix plugin is available
03-21 09:06:30:750 [ info gui.socketapi ]:      server started, listening at  "/run/user/1000/ownCloud/socket"

@gabi18
Copy link
Contributor

gabi18 commented Mar 28, 2022

Confirmed fixed in RC2

version-suffix

@JoKalliauer
Copy link
Author

As the reporter I also confirm that it is fixed:

ownCloud ownCloud 2.10.1 (build 7187) Apr  5 2022 11:11:57
https://github.com/owncloud/client/commit/82eefdafa2ec7a1927df87c850d9e6f1e9dac6af
Libraries Qt 5.12.10, OpenSSL 1.1.1n  FIPS 15 Mar 2022
Using virtual files plugin: suffix
fedora-5.17.1-300.fc36.x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linux p2-high Escalation, on top of current planning, release blocker
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants