Menu

Peppermint hub not launching

New Users
and66
2023-02-04
2023-02-06
  • and66

    and66 - 2023-02-04

    When I click on Peppermint hub to launch, a small blank pop-up pops up headed 'ttkbootstrap', this disappears after one second and that's it, no Pephub. Therefore I'm looking for advice on how to rectify this.

     

    Last edit: and66 2023-02-04
  • Peppermint OS

    Peppermint OS - 2023-02-04

    Could you run this in your terminal
    python3 /opt/pypep/hub.py

    Then post the results
    Thanks!

     
  • and66

    and66 - 2023-02-04

    Thanks for replying:
    output of running 'python3 /opt/pypep/hub.py' in terminal:

    Traceback (most recent call last):
    File "/opt/pypep/hub.py", line 30, in <module>
    conn = sqlite3.connect('/opt/pypep/dbpep/welval.db')
    sqlite3.OperationalError: unable to open database file</module>

     

    Last edit: and66 2023-02-04
  • Peppermint OS

    Peppermint OS - 2023-02-04

    So that is telling you that the its cannot access the database file.
    is there anything in this location:
    /opt/pypep/dbpep/
    or is it permission denied ?

     
  • and66

    and66 - 2023-02-04

    There is a file: welval.db

    Its contents in libre office writer are:

    SQLite format 3@ .K L"tableupschedupschedCREATE TABLE upsched (id integer PRIMARY
    KEY AUTOINCREMENT, dname text, cronnum int, hr int,
    min int)P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)`tablewelchkwelchkCREATE TABLE welchk ( id integer PRIMARY KEY AUTOINCREMENT, nosee text) welchk

     

    Last edit: and66 2023-02-04
  • Peppermint OS

    Peppermint OS - 2023-02-04

    hmmm... lets try to update the system,

    run sudo xDaily that will update your pep tools

     
  • and66

    and66 - 2023-02-05

    I updated by running: sudo xDaily, rebooted, but still no Pephub.
    However, I then thought to change user, so I logged into root account and Pephub is working there.
    As it's not working in my standard user account, might I assume that Pephub only runs if you are logged in as root user?

     
    • Peppermint OS

      Peppermint OS - 2023-02-05

      You have a very odd issue...hmmm..... No root is not required to run the pephub, Your permission to that Database has change at some point, that DB permission should be 755

      In terminal if you cd to /opt/pypep/dbpep
      Then do this command
      ls -ls

      What do you get as the results?

       
      • and66

        and66 - 2023-02-05

        Results:
        andy@and-oem:/opt/pypep/dbpep$ ls -ls
        total 20
        20 -rw-rw---- 1 root cdrom 20480 Feb 5 10:35 welval.db

         
        • Peppermint OS

          Peppermint OS - 2023-02-06

          try changing the permission to sudo chmod 755 welval.db

           
          • and66

            and66 - 2023-02-06

            It works!
            As su, I cd'd to /opt/pypep/dbpep, typed sudo chmod 755 welval.db and I can now indeed access Pephub from my Desktop User account!
            Thank you for your help!

             
            👍
            1
  • cavy

    cavy - 2023-02-05

    Hi and66,

    If I've read and understood your post. You have a normal user (assume and66) and a root account?

    We do not have the old fashioned Guest account, for security reasons. Nor is there a separate root account; unless you are referring to the Nemo right-click menu entry Open as root here. To edit any of your OS system files. Only use this function with caution.

    Please supply the printout of this command: inxi -Fxz

    How to encapsulate your terminal printout: https://sourceforge.net/p/peppermintos/pepwiki/How%20Encapsulate%20inxi%20printout/

    The Pephub should open in the normal user account. Please observe the screenshot of my terminal printout and the Users and Groups App, (found in the Whisker Menu at the Settings section). There is only one user account, your account will be defaulted to the Custom setting on this page.

     
  • and66

    and66 - 2023-02-05

    There is a main account, i.e. the one that was created by default upon installation, that is marked as 'Administrator' and I created a 'Desktop user' account that I habitually use, the one from which I cannot access Pephub.

    From what you are saying and your 'user.png' image, it seems that my creating the 'Desktop user' account is not necessary in Pepermint and I should just be using the default 'Administrator' account created upon installation; is that correct?

    Printout from inxi -Fxz

    System:
      Kernel: 5.10.0-21-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: Xfce 4.16.0 
      Distro: PeppermintOS 
    Machine:
      Type: Desktop Mobo: Foxconn model: G31MX Series serial: <filter> BIOS: Phoenix 
      v: 6.00 PG date: 06/19/2008 
    CPU:
      Info: Single Core model: Intel Pentium 4 bits: 64 type: MT arch: Netburst Smithfield 
      rev: 9 L2 cache: 1024 KiB 
      flags: lm nx pae sse sse2 sse3 bogomips: 11999 
      Speed: 3000 MHz min/max: N/A Core speeds (MHz): 1: 3000 2: 3000 
    Graphics:
      Device-1: AMD RV710 [Radeon HD 4350/4550] vendor: ASUSTeK driver: radeon v: kernel 
      bus ID: 01:00.0 
      Display: x11 server: X.Org 1.20.11 driver: loaded: ati,radeon 
      unloaded: fbdev,modesetting,vesa resolution: 1280x1024~60Hz 
      OpenGL: renderer: AMD RV710 (DRM 2.50.0 / 5.10.0-21-amd64 LLVM 11.0.1) 
      v: 3.3 Mesa 20.3.5 direct render: Yes 
    Audio:
      Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: Foxconn 
      driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
      Device-2: AMD RV710/730 HDMI Audio [Radeon HD 4000 series] vendor: ASUSTeK 
      driver: snd_hda_intel v: kernel bus ID: 01:00.1 
      Sound Server: ALSA v: k5.10.0-21-amd64 
    Network:
      Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Foxconn 
      driver: r8169 v: kernel port: ce00 bus ID: 03:00.0 
      IF: enp3s0 state: down mac: <filter> 
      Device-2: Realtek RTL8188SU 802.11n WLAN Adapter type: USB driver: r8712u 
      bus ID: 2-3:2 
      IF: wlx0002728e62d1 state: up mac: <filter> 
    Drives:
      Local Storage: total: 223.57 GiB used: 10.28 GiB (4.6%) 
      ID-1: /dev/sda vendor: Kingston model: SA400S37240G size: 223.57 GiB 
    Partition:
      ID-1: / size: 46.95 GiB used: 10.28 GiB (21.9%) fs: ext4 dev: /dev/sda1 
    Swap:
      Alert: No Swap data was found. 
    Sensors:
      System Temperatures: cpu: 43.0 C mobo: N/A gpu: radeon temp: 44.5 C 
      Fan Speeds (RPM): N/A 
    Info:
      Processes: 204 Uptime: 3h 31m Memory: 3.16 GiB used: 1.48 GiB (46.8%) Init: systemd 
      runlevel: 5 Compilers: gcc: 10.2.1 Packages: 1766 Shell: Bash v: 5.1.4 inxi: 3.3.01 
    

    Edit by Admins to format terminal printout to make it human readable.

     

    Last edit: cavy 2023-02-05
  • cavy

    cavy - 2023-02-05

    The installer actually creates a custom account using the details you were asked to supply, at the User section for your username, computer's name and password. Plus if you wanted to be auto-logged on after the computer boots up.

    The default Custom Account setting is more than adequate for the majority of users, who will predominately use the GUI (Graphic User Interface) rather than the CLI (Command Line).

    There is no need to create a Desktop User account unless you allow third party users access to your computer, then this is the optimum method to preserve the integrity of your data. As the Desktop User can not edit or alter any root system files or update the computer, or install extra apps without your permission, as they do not know your password or be allowed to know.

     
  • and66

    and66 - 2023-02-05

    Indeed the installer did create a custom account, I changed it to Administrator for no other reason than that is what I thought I needed to do.

     

Log in to post a comment.