Comments (5)
For anyone who needs a stopgap solution on OS X (aka macOS), this worked for me, but I'm no developer, though I doubt I'm doing any "harm":
- close the Rocket Chat app.
- delete the directory "chat.rocket" that in the following path:
~/Library/Containers/chat.rocket/
- open the Rocket Chat app.
from rocket.chat.electron.
As quick fix before some real fix, I've created simple batch script that deletes cookies and local storage files before starting app. Maybe someone will find it helpful:
@echo off
:: Set Rocket.Chat path here (path to exe file)
set chat="%ProgramFiles(x86)%\Rocket.Chat\Rocket.Chat.exe"
:: Files to delete
:: GitLab login is stored in cookies
set file[0]=%USERPROFILE%\AppData\Roaming\Rocket.Chat\Cookies
set file[1]=%USERPROFILE%\AppData\Roaming\Rocket.Chat\Cookies-journal
:: Rocket.Chat login is stored in local storage
set file[2]=%USERPROFILE%\AppData\Roaming\Rocket.Chat\Local Storage\https_yourdomain.com_0.localstorage
set file[3]=%USERPROFILE%\AppData\Roaming\Rocket.Chat\Local Storage\https_yourdomain.com_0.localstorage-journal
:: For each file
for /F "tokens=2 delims==" %%s in ('set file[') do (
:: If sosmething already was marked then delete
if exist "%%s.toDelete" del "%%s.toDelete"
:: Check if file is locked if not mark to delete
if exist "%%s" move "%%s" "%%s.toDelete" || goto onerror
:: Delete marked file
if exist "%%s.toDelete" del "%%s.toDelete"
)
:: Run Rocket.Chat app and finish script
start "" %chat%
exit
:onerror
:: Show error message (should work for most systems)
mshta javascript:alert("Files are locked.\n\nCheck if there is no Rocket.Chat running in the backgroud.");close();
You need to provide your domain in there https_yourdomain.com_0.localstorage
, and any path if it differ. Sorry for code quality but I don't have any experience with Batch scripting (and time;).
from rocket.chat.electron.
UPDATE: remote part of my office told me, that this script breaks the ability to start a voice chat. I don't know how it's possible as all files are recreated on app start, but be aware of that if you use that script. Gave as a real headache to debug that.
@engelgabriel Could you tell me how deleting those 4 files may affect voice calls? I'd like to fix my script so that we could keep using it before you come up with an update but I don't really know what may the cause be and therefore how to change it.
from rocket.chat.electron.
that script effects all notifications(in app), not just voicechat btw. We haven't tested it with the browser version.
from rocket.chat.electron.
For the record: In Ubuntu, deleting below directories cleared the cache.
/home/<user>/.config/Rocket.Chat+/Cache
/home/<user>/.config/Rocket.Chat+/GPUCache
/home/<user>/.cache/Rocket.Chat+
from rocket.chat.electron.
Related Issues (20)
- Add missing translations for various languages: Arabian, German, Finnish, Polish, Portuguese (Brazil), Ukrainian
- Markdown links added in the Team or Channel Topic don't work
- Add members dropdown while creating new team/channel not working properly
- App crashes on downloading an image HOT 1
- Download error when cancelling "Save as" dialog HOT 1
- "Reload" reloads wrong workspace HOT 2
- Sidebar does not highlight workspace with new messages HOT 7
- Menu options not available after adding server HOT 1
- Misleading error message about the supported Rocket.Chat version HOT 2
- Windows app push notifications not working.
- Add Mac OS Keychain integration
- E2E Encryption password not displayed in the German version, shows `%s` instead HOT 2
- Rocket.Chat.Electron could not yarn start HOT 3
- Only main chat window is re-opened on launch on macOS HOT 1
- Back / Forward navigation slow and unresponsive HOT 3
- Grammarly support on desktop app
- Inconsistent Markdown Formatting in Custom Status Field
- Rocket.Chat crashes after opening a chat
- Not possible to exit settings when Sidebar is hidden
- RC suddenly scroll back to latest message when click on older message HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocket.chat.electron.