&eche|on
                        
                        
                            &zzz
                        
                        
                            +R4SAS
                        
                        
                            +RN
                        
                        
                            +RN_
                        
                        
                            +StormyCloud
                        
                        
                            +T3s|4
                        
                        
                            +acetone
                        
                        
                            +dr|z3d
                        
                        
                            +eche|off
                        
                        
                            +orignal
                        
                        
                            +postman
                        
                        
                            +snex
                        
                        
                            +wodencafe
                        
                        
                            Arch
                        
                        
                            BubbRubb
                        
                        
                            Chrono
                        
                        
                            Danny
                        
                        
                            DeltaOreo
                        
                        
                            FreefallHeavens
                        
                        
                            Irc2PGuest16752
                        
                        
                            Irc2PGuest33667
                        
                        
                            Irc2PGuest33976
                        
                        
                            Irc2PGuest51880
                        
                        
                            Irc2PGuest97218
                        
                        
                            Onn4l7h
                        
                        
                            Sisyphus
                        
                        
                            Sleepy_
                        
                        
                            T3s|4_
                        
                        
                            Teeed
                        
                        
                            aargh2
                        
                        
                            ac9f_
                        
                        
                            b3t4f4c3__
                        
                        
                            b4dab00m
                        
                        
                            bak83_
                        
                        
                            duanin2
                        
                        
                            eyedeekay_
                        
                        
                            john231
                        
                        
                            leopold
                        
                        
                            makoto
                        
                        
                            nilbog-
                        
                        
                            not_bob_afk
                        
                        
                            poriori_
                        
                        
                            profetik1
                        
                        
                            r00tobo_BNC
                        
                        
                            rapidash
                        
                        
                            shiver_
                        
                        
                            solidx66
                        
                        
                            thetia
                        
                        
                            tr
                        
                        
                            u5657
                        
                        
                            uop23ip
                        
                        
                            vivid_reader56
                        
                        
                            w8rabbit
                        
                        
                            x74a6
                        
                        
                            xHarr
                        
                    
                    
                        Irc2PGuest48514
                    
                    
                        I'm having lots of trouble upgrading to 2.9.0
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        when I restart the router the web console does not come up and according to netstat nobody is listening to any ports
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        this behavior happens with both i2p+ and vanilla i2p
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        I'm thinking something changed with jetty. I saw some commits about a jetty migration
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        but are there any environment variables or configuration files I can change to force the router to do more logging so I can get an idea of what's going on
                    
                
                
                    
                        zzz
                    
                    
                        check wrapper log
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        I don't see anything in wrapper.log. but I don't use the wrapper. I have a script that just runs java and the net.i2p.router.Router class
                    
                
                
                    
                        zzz
                    
                    
                        then look at wherever you're directing stdout/stderr
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        sometimes I see stuff in I2P_CONFIG_DIR/data/logs/ like logs/logs-0.txt etc but there's nothing there either
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        zzz: you think error messages and stuff should be printing out to stdout?
                    
                
                
                    
                        dr|z3d
                    
                    
                        if you can run with the wrapper for the purposes of identifying the issue, might be an idea.
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        I don't think I ever see anything printed to stdout but mayhaps when I run java I can add some redirection operators
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        my script simply does
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        $JAVA_HOME/bin/java -Di2p.dir.base="${I2P_INSTALL_DIR}" -Di2p.dir.pid="${I2P_WORKSPACE_DIR}" -Di2p.dir.tmp="${I2P_WORKSPACE_DIR}/data/tmp/" -Di2p.dir.config="${I2P_WORKSPACE_DIR}/data/config/" -Djava.library.path="${I2P_INSTALL_DIR}:${I2P_INSTALL_DIR}/lib" -cp "${I2P_INSTALL_DIR}/lib/*" ${JAVA_OPTS} net.i2p.router.Router
                          
                
                
                    
                        zzz
                    
                    
                        wrapper.log is just normal redirected stdout/stderr, which is where fatal errors should be
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        zzz: what about increasing the log level to Debug logging? can that be done at the command line?
                    
                
                
                    
                        zzz
                    
                    
                        does it just stop? what's the exit code?
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        it doesn't exit. the program appears to be running. but there's no web console and there's no open sockets according to netstat
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        hmm. the update has gotten bigger. could've sworn it was 9mb before and now it's 17.98mb.
                    
                
                
                    
                        zzz
                    
                    
                        you could run jvisualvm on it to see what it's doing
                    
                
                
                    
                        dr|z3d
                    
                    
                        'sudo netstat -anp |grep 7657 |grep LISTEN' returns nothing?
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        dr|z3d: netstat -tlp returns nothing
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        zzz: using jvisualvm is a good idea. I'll give that a shot.
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        well the situation is persistent. it happened again
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        dr|z3d: no I'm pretty confident that it's not getting to the point where it opens any sockets
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        redirecting stdout/stderr doesn't help but I do see messages in wrapper.log about the update being successfully applied
                    
                
                
                    
                        dr|z3d
                    
                    
                        do you want to try running with 'i2prouter start' just to see where that gets us, or you can't use the wrapper?
                    
                
                
                    
                        dr|z3d
                    
                    
                        ah, if you have wrapper.log then you're running with the wrapper.
                    
                
                
                    
                        dr|z3d
                    
                    
                        so keep an eye on wrapper.log and see if it tells you why it's failing to bring up the console.
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        you know it's strange that anything at all gets written to wrapper.log since I'm starting it with just java. but there's nothing in wrapper.log after the update is successfully applied
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        if I blow away the upgraded distro and go back to 2.8.2 everything works fine
                    
                
                
                    
                        dr|z3d
                    
                    
                        try running with the wrapper. see where that gets us.
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        dr|z3d: when you say run with the wrapper you mean using the script $I2P_INSTALL_DIR/i2prouter (after making it executable)
                    
                
                
                    
                        dr|z3d
                    
                    
                        that's it.
                    
                
                
                    
                        dr|z3d
                    
                    
                        i2prouter start
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        ok I'll have to modify that script I think. that script never works for me since I build i2p from source to create the distribution.
                    
                
                
                    
                        dr|z3d
                    
                    
                        it's a good idea to run with the wrapper.. it'll manage memory usage and allow you to restart the router from the console. otherwise, there's no ram limits applied, and you can only shutdown the router from the console.
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        dr|z3d: the wrapper really assumes that you're using an installer. I get lots of weird errors with it. But I do wonder if the wrapper plays a part in the update process. I see commands like postinstall.sh
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        then again I've been successfully updating this router for almost a decade (since 2017) and I think this is the first time I've had autoupdate blow up and render the router unusable
                    
                
                
                    
                        dr|z3d
                    
                    
                        the other thing you could try is renaming your existing config dir, and see if i2p starts up with a new profile/dir.
                    
                
                
                    
                        dr|z3d
                    
                    
                        mv ~/.i2p ~/.i2p_backup
                    
                
                
                    
                        dr|z3d
                    
                    
                        you'll want to stop i2p first.
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        dr|z3d: you know I tried that. but the router didn't create a new config dir.
                    
                
                
                    
                        Irc2PGuest48514
                    
                    
                        I don't think running net.i2p.router.Router actually generates a config dir. (And I don't really want it to... when I run the router inside my IDE I don't want it to write anything to disk). But I am curious where the code is that generates config directories.
                    
                
                
                    
                        dr|z3d
                    
                    
                        you need a config dir. i2p won't run without one.
                    
                
                
                    
                        dr|z3d
                    
                    
                        see router/java/src/net/i2p/router/startup/WorkingDir.java
                     
                
                
                    
                        segfault
                    
                    
                        > In two releases, at 2.11.0, I2P will require Java 17.
                    
                
                
                    
                        segfault
                    
                    
                        why?
                    
                
                
                    
                        dr|z3d
                    
                    
                        because jetty 9 is EOL.
                    
                
                
                    
                        dr|z3d
                    
                    
                        and the current Jetty requires 17.
                    
                
                
                    
                        segfault
                    
                    
                        dr|z3d: thx
                    
                
                
                    
                        dr|z3d
                    
                    
                        np