Bundle restarts in milestone 2.5.0.M2 stopped working

I’ve upgraded to openhab 2.5.0.M2 a while back and my automatic bundle restarts have stopped working. Logging into Karaf manually through ssh and checkin, I found the following:

openhab> bundle:stop
Command not found: bundle:stop

openhab> bundle:restart
Command not found: bundle:restart

openhab> bundle:start
Command not found: bundle:start

anyone experiencing the same? what am I doing wrong?

thanks

Here is what the console for my 2.5M2 lists:

openhab> help bundle
SUBSHELL                                                               
             bundle                                                                                                                                                      
COMMANDS                                                                        
    bundle:capabilities   Displays OSGi capabilities of a given bundles. 
    bundle:classes        Displays a list of classes/resources contained in the
                                    bundle                                             
    bundle:diag           Displays diagnostic information why a bundle is not
                                  Active        
    bundle:dynamic-import Enables/disables dynamic-import for a given bundle.
    bundle:find-class     Locates a specified class in any deployed bundle    
    bundle:headers        Displays OSGi headers of a given bundles.                 
    bundle:id             Gets the bundle ID.                                   
    bundle:info           Displays detailed information of a given bundles.     
    bundle:install        Installs one or more bundles.                         
    bundle:list             Lists all installed bundles.                          
    bundle:load-test      Load test bundle lifecycle                            
    bundle:refresh        Refresh bundles.                                      
    bundle:requirements   Displays OSGi requirements of a given bundles.        
    bundle:resolve        Resolve bundles.                                      
    bundle:restart         Restarts bundles.                                     
    bundle:services       Lists OSGi services per Bundle                        
    bundle:start          Starts bundles.                                       
    bundle:start-level    Gets or sets the start level of a bundle.             
    bundle:status         Get the bundle current status                         
    bundle:stop           Stop bundles.                                         
    bundle:tree-show      Shows the tree of bundles based on the wiring
                                      information.                                          
    bundle:uninstall      Uninstall bundles.                                    
    bundle:update         Update bundle.                                        
    bundle:watch          Watches and updates bundles      
: 
openhab>

thanks a lot. hmm, why does my “help bundle” not list any of the start/stop/restart commands? what did I do wrong? I’m running OpenHab on a Raspberry. just upgraded to M3 today (openhab2 (2.5.0~M3-1))

my output looks like this

                      __  _____    ____

____ ____ ___ ____ / / / / | / __ )
/ __ / __ / _ / __ / // / /| | / __ |
/ /
/ / // / __/ / / / __ / ___ |/ // /
_/ ./_// /// /// |/_____/
/_/ 2.5.0.M3
Milestone Build

Hit ‘’ for a list of available commands
and ‘[cmd] --help’ for help on a specific command.
Hit ‘’ or type ‘system:shutdown’ or ‘logout’ to shutdown openHAB.

openhab> help bundle
SUBSHELL
bundle

COMMANDS
bundle:capabilities Displays OSGi capabilities of a given bundles.
bundle:classes Displays a list of classes/resources contained in the bundle
bundle:diag Displays diagnostic information why a bundle is not Active
bundle:dynamic-import Enables/disables dynamic-import for a given bundle.
bundle:find-class Locates a specified class in any deployed bundle
bundle:headers Displays OSGi headers of a given bundles.
bundle:id Gets the bundle ID.
bundle:info Displays detailed information of a given bundles.
bundle:list Lists all installed bundles.
bundle:load-test Load test bundle lifecycle
bundle:requirements Displays OSGi requirements of a given bundles.
bundle:resolve Resolve bundles.
bundle:services Lists OSGi services per Bundle
bundle:start-level Gets or sets the start level of a bundle.
bundle:status Get the bundle current status
bundle:tree-show Shows the tree of bundles based on the wiring information.

I am on 2.5M2. I have not yes upgraded.

thanks a lot. any chance this has to do with my console access rights? where could I change/check this?

I ssh in as the user running OH & then type openhab-cli console.
logout gets you back to the Linux prompt.

I login as the user running openhab as well: “sudo -u openhab ssh console”

Dear all, anyone has any clue why I don’t see these functions in the console / does anyone have a hint how I can enable/install them? I think this is a config issue but I can’t find any place to change it. thanks a ton for your help