Dark Mode (official module) activation error
-
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 -
I used rm -r -f /path/ to delete the darkmode folder in the following places:
/app/code/Modules/DarkMode
/app/data/public-modulesThen, 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
-
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 -
@humptydumpty yeah it just worked out of the box for me after putting the license key.
@nebulon In that case, I'll report upstream. Thanks!
Edit: reported here: https://github.com/freescout-helpdesk/freescout/issues/2250
-
@humptydumpty yeah it just worked out of the box for me after putting the license key.
@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 -
@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 -
@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?
@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

-
I used rm -r -f /path/ to delete the darkmode folder in the following places:
/app/code/Modules/DarkMode
/app/data/public-modulesThen, 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
-
H humptydumpty marked this topic as a question on
-
H humptydumpty has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login