Skip to content

Virtualbox-7.0 getAudioAdapter not implemented #313

@JSchlager008

Description

@JSchlager008

Just upgraded virtualbox to 7.0 on Ubuntu 22.04. I used the patches located here to implement php8.1 compatibility which works fine with virtualbox 6.1. But when I upgrade to 7.0 I get the error below.

I did patch up the files in endpoints/lib according to this

Might also be notable that when I do vboxmanage list vms after updating it only shows one vm that I deleted ages ago. Updated the machine folder and it still only showed one vm in terminal while the web console showed all of them.

Reverting to virtualbox 6.1 fixes the issue

Not sure if it's something I'm doing wrong or a bug. Any help would be greatly appreciated.

Method 'ns1:IMachine_getAudioAdapter' not implemented: method name or namespace not recognized

Details shows the following.

SoapFault Object
(
    [message:protected] => Method 'ns1:IMachine_getAudioAdapter' not implemented: method name or namespace not recognized
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/html/phpvirtualbox-develop/endpoints/lib/vboxServiceWrappers.php
    [line:protected] => 5401
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/html/phpvirtualbox-develop/endpoints/lib/vboxServiceWrappers.php
                    [line] => 5401
                    [function] => __soapCall
                    [class] => SoapClient
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /var/www/html/phpvirtualbox-develop/endpoints/lib/vboxServiceWrappers.php
                    [line] => 54
                    [function] => getAudioAdapter
                    [class] => IMachine
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /var/www/html/phpvirtualbox-develop/endpoints/lib/vboxconnector.php
                    [line] => 4256
                    [function] => __get
                    [class] => VBox_ManagedObject
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /var/www/html/phpvirtualbox-develop/endpoints/lib/vboxconnector.php
                    [line] => 3571
                    [function] => _machineGetDetails
                    [class] => vboxconnector
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /var/www/html/phpvirtualbox-develop/endpoints/lib/vboxconnector.php
                    [line] => 951
                    [function] => remote_machineGetDetails
                    [class] => vboxconnector
                    [type] => ->
                )

            [5] => Array
                (
                    [file] => /var/www/html/phpvirtualbox-develop/endpoints/api.php
                    [line] => 316
                    [function] => __call
                    [class] => vboxconnector
                    [type] => ->
                )

        )

    [previous:Exception:private] => 
    [faultstring] => Method 'ns1:IMachine_getAudioAdapter' not implemented: method name or namespace not recognized
    [faultcode] => SOAP-ENV:Client
    [faultcodens] => 
    [faultactor] => 
    [detail] => 
    [_name] => 
    [headerfault] => 
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions