Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. FreeScout
  3. Dark Mode (official module) activation error

Dark Mode (official module) activation error

Scheduled Pinned Locked Moved Solved FreeScout
7 Posts 2 Posters 1.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    wrote on last edited by humptydumpty
    #1

    I just bought the officially released dark mode module but I'm getting an error when activating it. I tried a different browser in case it's a caching issue but no luck there. @nebulade @nebulon (btw, why two usernames?) I saw your comments upstream regarding this module. Does it work for you? Should I report this upstream?

    Troubleshooting:

    • I tried a different browser altogether in case it's caching issue.
    • I deleted the dark mode folder, reinstalled, and tried reactivating (multiple times).
    Cache cleared successfully.
    Nothing to migrate.
    Error occured creating [/app/code/public/modules/darkmode] symlink: symlink(): No such file or directory
    The [/app/code/public/modules/darkmode] symlink has been created
    Clearing cache...
    The compiled services & packages files have been removed.
    Cache cleared successfully.
    Compiled views cleared!
    Configuration cache cleared!
    Configuration cached successfully!
    Created: storage/app/public/js/vars.js
    
    nebulonN 1 Reply Last reply
    0
    • humptydumptyH Offline
      humptydumptyH Offline
      humptydumpty
      wrote on last edited by humptydumpty
      #7

      I used rm -r -f /path/ to delete the darkmode folder in the following places:

      /app/code/Modules/DarkMode
      /app/data/public-modules

      Then, installed and activated the Dark Mode module and it worked!

      For future reference (to self) https://askubuntu.com/questions/201775/how-do-i-remove-a-folder

      1 Reply Last reply
      1
      • humptydumptyH humptydumpty

        I just bought the officially released dark mode module but I'm getting an error when activating it. I tried a different browser in case it's a caching issue but no luck there. @nebulade @nebulon (btw, why two usernames?) I saw your comments upstream regarding this module. Does it work for you? Should I report this upstream?

        Troubleshooting:

        • I tried a different browser altogether in case it's caching issue.
        • I deleted the dark mode folder, reinstalled, and tried reactivating (multiple times).
        Cache cleared successfully.
        Nothing to migrate.
        Error occured creating [/app/code/public/modules/darkmode] symlink: symlink(): No such file or directory
        The [/app/code/public/modules/darkmode] symlink has been created
        Clearing cache...
        The compiled services & packages files have been removed.
        Cache cleared successfully.
        Compiled views cleared!
        Configuration cache cleared!
        Configuration cached successfully!
        Created: storage/app/public/js/vars.js
        
        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        @humptydumpty yeah it just worked out of the box for me after putting the license key.

        humptydumptyH 2 Replies Last reply
        0
        • nebulonN nebulon

          @humptydumpty yeah it just worked out of the box for me after putting the license key.

          humptydumptyH Offline
          humptydumptyH Offline
          humptydumpty
          wrote on last edited by humptydumpty
          #3

          @nebulon In that case, I'll report upstream. Thanks!

          Edit: reported here: https://github.com/freescout-helpdesk/freescout/issues/2250

          1 Reply Last reply
          0
          • nebulonN nebulon

            @humptydumpty yeah it just worked out of the box for me after putting the license key.

            humptydumptyH Offline
            humptydumptyH Offline
            humptydumpty
            wrote on last edited by humptydumpty
            #4

            @nebulon I'm using the File Manager to delete the dark mode folder in /app/data/Modules/darkmode

            But there's a symlink that I can't delete in /app/data/public-modules/darkmode. Could this be the issue?

            Upstream referenced this comment as a solution but using the file manager instead of SSH (should do the same trick right?) didn't work. https://github.com/freescout-helpdesk/freescout/issues/2240#issuecomment-1248148277

             tried simply SSH delete "/home/admin/domains/xxx/public_html/public/modules/darkmode" file and re-install the module. => Did not work.
            
            Next I tried SSH delete "/home/admin/domains/xxx/public_html/public/modules/darkmode" file and activate it without re-install. => It worked!
            

            I get the following:

            Cache cleared successfully.
            Module with the specified alias not found: darkmode
            
            nebulonN 1 Reply Last reply
            0
            • humptydumptyH humptydumpty

              @nebulon I'm using the File Manager to delete the dark mode folder in /app/data/Modules/darkmode

              But there's a symlink that I can't delete in /app/data/public-modules/darkmode. Could this be the issue?

              Upstream referenced this comment as a solution but using the file manager instead of SSH (should do the same trick right?) didn't work. https://github.com/freescout-helpdesk/freescout/issues/2240#issuecomment-1248148277

               tried simply SSH delete "/home/admin/domains/xxx/public_html/public/modules/darkmode" file and re-install the module. => Did not work.
              
              Next I tried SSH delete "/home/admin/domains/xxx/public_html/public/modules/darkmode" file and activate it without re-install. => It worked!
              

              I get the following:

              Cache cleared successfully.
              Module with the specified alias not found: darkmode
              
              nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #5

              @humptydumpty I don't fully get the root cause, but I guess starting over is worth a try. Can you delete the symlink via the webterminal?

              humptydumptyH 1 Reply Last reply
              0
              • nebulonN nebulon

                @humptydumpty I don't fully get the root cause, but I guess starting over is worth a try. Can you delete the symlink via the webterminal?

                humptydumptyH Offline
                humptydumptyH Offline
                humptydumpty
                wrote on last edited by humptydumpty
                #6

                @nebulon what's the exact command I need to use?

                The darkmode folder is deleted in app/data/modules/

                I get a "Cloudron error" with no actual error details if I try to delete the symlink in

                /app/data/public-modules/darkmode

                717ffa5f-02b6-4e0d-b526-1d3f03c3506f-image.png

                1 Reply Last reply
                0
                • humptydumptyH Offline
                  humptydumptyH Offline
                  humptydumpty
                  wrote on last edited by humptydumpty
                  #7

                  I used rm -r -f /path/ to delete the darkmode folder in the following places:

                  /app/code/Modules/DarkMode
                  /app/data/public-modules

                  Then, installed and activated the Dark Mode module and it worked!

                  For future reference (to self) https://askubuntu.com/questions/201775/how-do-i-remove-a-folder

                  1 Reply Last reply
                  1
                  • humptydumptyH humptydumpty marked this topic as a question on
                  • humptydumptyH humptydumpty has marked this topic as solved on
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Bookmarks
                  • Search