signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.66k stars 2.67k forks source link

Error: EPERM: operation not permitted, #3923

Open regsoft opened 4 years ago

regsoft commented 4 years ago

Bug Description

Steps to Reproduce

  1. step one
  2. step two
  3. step three

Actual Result:

Expected Result:

Screenshots

Platform Info

Signal Version:

Operating System:

Linked Device Version:

Link to Debug Log

regsoft commented 4 years ago

Looks like a permission issue, no idea why Error: EPERM: operation not permitted, rename 'C:\Users\robert_g\AppData\Roaming\Signal\logs\log.log.1' -> 'C:\Users\robert_g\AppData\Roaming\Signal\logs\log.log.2'

scottnonnenberg-signal commented 4 years ago

Can you tell us about the permissions setup on your computer? Have you made any interesting changes?

regsoft commented 4 years ago

Nothing out of the ordinary.

On Mon, Jan 27, 2020 at 9:51 AM Scott Nonnenberg notifications@github.com wrote:

Can you tell us about the permissions setup on your computer? Have you made any interesting changes?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/signalapp/Signal-Desktop/issues/3923?email_source=notifications&email_token=AE7G2XBSVDJZHUR2Q57NTJ3Q74NLJA5CNFSM4KLZOX3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKANYEQ#issuecomment-578870290, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7G2XFEHVRRAQDXLV5AMY3Q74NLJANCNFSM4KLZOX3A .

jape42 commented 4 years ago

Same issue on ubuntu 19.10. Leave signal running over many days (including hibernation overnight) and this message eventually pops up. Can be resolved by exiting and restarting app.

Unhandled Error

Error: EACCES: permission denied, rename '/home/jape/snap/signal-desktop/298/.config/Signal/logs/log.log.1' -> '/home/jape/snap/signal-desktop/298/.config/Signal/logs/log.log.2'

max-l commented 4 years ago

Same thing here, error happens after days of running:

Unhandled Error

Error: EACCES: permission denied, rename '/home/maxou/snap/signal-desktop/325/.config/Signal/logs/log.log.1' -> '/home/maxou/snap/signal-desktop/325/.config/Signal/logs/log.log.2'

josh-signal commented 4 years ago

@max-l any chance we can get your debug logs see if they shed some light on this issue? You can find them off the menu View -> Debug Logs. You may want to try restarting the app as a previous user has mentioned this resolves the issue.

regsoft commented 4 years ago

Wow that must have been quite a while ago. I think the app has been upgraded many times since that problem. Great desktop app. Thank you for working on it.

On Wed, Jul 22, 2020 at 7:42 PM Josh Perez notifications@github.com wrote:

@max-l https://github.com/max-l any chance we can get your debug logs see if they shed some light on this issue? You can find them off the menu View -> Debug Logs. You may want to try restarting the app as a previous user has mentioned this resolves the issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/signalapp/Signal-Desktop/issues/3923#issuecomment-662792473, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7G2XDHIDGFMLNBWTRMHZDR46PRHANCNFSM4KLZOX3A .

vallejo915 commented 4 years ago

Hey guys, was wondering if I could get some help regarding this issue (signal on desktop)

Unhandled Promise Rejection Error: EPERM: operation not permitted, unlink 'C:\Users\MTWN73\AppData\Roaming\Signal\logs\log.log

I have tried uninstalling and removing signal and whisper systems from my windows registry, now I cant even reinstall it (didnt even get a debug log :X). Any thoughts?

josh-signal commented 4 years ago

@vallejo915 what happens when you try to install it? Are you able to pull logs from your machine about the installation?

regsoft commented 4 years ago

Please remove @brillouinenergy from this thread.

On Thu, Jul 23, 2020 at 6:54 PM Josh Perez notifications@github.com wrote:

@vallejo915 https://github.com/vallejo915 what happens when you try to install it? Are you able to pull logs from your machine about the installation?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/signalapp/Signal-Desktop/issues/3923#issuecomment-663314306, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7G2XDMRDWQIHMRHZSCJVDR5DSULANCNFSM4KLZOX3A .

vallejo915 commented 4 years ago

@vallejo915 what happens when you try to install it? Are you able to pull logs from your machine about the installation?

Hey man, thanks for the reply. It finally installed but it gives me the error I listed above after installation. The thing is that I'm not able to run it, it just gives me the error and doesnt allow me to get a Debug Log.

josh-signal commented 4 years ago

Not looking for a debug log but maybe system logs can tell us why the install is failing?

regsoft commented 4 years ago

PLEASE REMOVE github@brillouinenergy FROM THIS LIST!

On Fri, Jul 24, 2020 at 6:09 PM Josh Perez notifications@github.com wrote:

Not looking for a debug log but maybe system logs can tell us why the install is failing?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/signalapp/Signal-Desktop/issues/3923#issuecomment-663788136, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7G2XEWOERWZH5WINZN7XLR5IWD5ANCNFSM4KLZOX3A .

scottnonnenberg-signal commented 4 years ago

@regsoft This is not a list. It's a bug on GitHub. You need to come to this URL on GitHub, and click the 'Unsubscribe' button. Or turn off GitHub email notifications entirely for your account.

samuel-lucas6 commented 1 year ago

Just got this randomly after closing Signal. Never seen it before. Prevents Signal opening completely.

Unhandled Promise Rejection

Error: EPERM: operation not permitted, unlink 'C:\Users\samuel-lucas6\AppData\Roaming\Signal\logs\main.log.3'

Signing out of Windows fortunately fixed the problem.

Owen-Kz commented 1 year ago

Just got this randomly after closing Signal. Never seen it before. Prevents Signal opening completely.

Unhandled Promise Rejection Error: EPERM: operation not permitted, unlink 'C:\Users\samuel-lucas6\AppData\Roaming\Signal\logs\main.log.3'

Signing out of Windows fortunately fixed the problem.

Thanks @samuel-lucas6 signing out also worked for me

Meteor0id commented 8 months ago

still randomly occurring. logfile not closing properly? idk

jamiebuilds-signal commented 8 months ago

@Meteor0id Do you have a debuglog? If you inspect the file permissions using Get-Acl on Windows can you show the results?

honsa commented 6 months ago

Looks like this appears if you are low on space

ryco117 commented 3 months ago

In my case this error was caused by a background Signal process which was not visible in either the taskbar or the notification tray.