Octoprint.log: permission denied

What is the problem?
My octopi was working just fine las week and now i cant use it. when i try to log in this is the message " The OctoPrint server is currently not running" i try what that page suggested but i only got this message.
What did you already try to solve it?
What the ocotopi.local page said

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)

pi@octopi:~ $ ps -ef | grep -i octoprint | grep -i python
pi@octopi:~ $ ~/.octoprint/logs/octoprint.log
-bash: /home/pi/.octoprint/logs/octoprint.log: Permission denied
pi@octopi:~ $ sudo rm -r ~/.octoprint/.config.yaml.swp
[sudo] password for pi:
rm: cannot remove '/home/pi/.octoprint/.config.yaml.swp': No such file or directory
pi@octopi:~ $ nano ~/.octoprint/config.yaml
pi@octopi:~ $ more ~/.octoprint/logs/octoprint.log
2019-04-19 05:26:06,491 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 05:26:06,497 - octoprint.server - INFO - --- Log roll over detected -
--------------------------------------------------
2019-04-19 05:26:06,497 - octoprint.server - INFO - OctoPrint 1.3.10
2019-04-19 05:26:06,501 - octoprint.plugin.core - INFO - 16 plugin(s) registered
 with the system:
|  Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-
packages/octoprint/plugins/action_command_prompt
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/o
ctoprint/plugins/announcements
|  Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packa
ges/octoprint/plugins/tracking
|  Application Keys Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packag
es/octoprint/plugins/appkeys
|  Backup & Restore (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octo
print/plugins/backup
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint
/plugins/corewizard
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages
/octoprint/plugins/cura
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/p
lugins/discovery
|  Force Login (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint
/plugins/forcelogin
|  Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plu
gins/logging
|  OctoPrint Anywhere (0.9.7) = /home/pi/oprint/local/lib/python2.7/site-package
s/octoprint_anywhere
|  Pi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/oct
oprint/plugins/pi_support
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octopr
int/plugins/pluginmanager
|  Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/
octoprint/plugins/printer_safety_check
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octop
rint/plugins/softwareupdate
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octop
rint/plugins/virtual_printer
2019-04-19 05:26:06,528 - octoprint.environment - INFO - Detected environment is
 Python 2.7.13 under Linux (linux2). Details:
|  hardware:
|    cores: 4
|    freq: 1400.0
|    ram: 918188032
|  os:
|    id: linux
|    platform: linux2
|  plugins:
|    pi_support:
|      model: Raspberry Pi 3 Model B Plus Rev 1.3
|      octopi_version: 0.16.0
|  python:
|    pip: 19.0.1
|    version: 2.7.13
|    virtualenv: /home/pi/oprint
2019-04-19 05:26:06,528 - octoprint.server - INFO - ----------------------------
--------------------------------------------------
2019-04-19 05:26:09,642 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 05:32:45,801 - backoff - INFO - Backing off capture_mjpeg(...) for 10
27.9s (timeout: timed out)
2019-04-19 05:41:06,493 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 05:41:09,649 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 05:50:03,817 - backoff - INFO - Backing off capture_mjpeg(...) for 32
5.1s (timeout: timed out)
2019-04-19 05:55:39,069 - backoff - INFO - Backing off capture_mjpeg(...) for 54
5.2s (timeout: timed out)
2019-04-19 05:56:06,496 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 05:56:09,689 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 06:04:54,320 - backoff - INFO - Backing off capture_mjpeg(...) for 53
5.1s (timeout: timed out)
2019-04-19 06:11:06,498 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 06:11:09,676 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 06:13:59,551 - backoff - INFO - Backing off capture_mjpeg(...) for 11
29.1s (timeout: timed out)
2019-04-19 06:26:06,501 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 06:26:09,957 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 06:32:58,744 - backoff - INFO - Backing off capture_mjpeg(...) for 11
42.9s (timeout: timed out)
2019-04-19 06:41:06,503 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 06:41:09,695 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 06:52:11,742 - backoff - INFO - Backing off capture_mjpeg(...) for 71
4.2s (timeout: timed out)
2019-04-19 06:56:06,507 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 06:56:09,725 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 07:04:16,016 - backoff - INFO - Backing off capture_mjpeg(...) for 53
6.2s (timeout: timed out)
2019-04-19 07:11:06,510 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 07:11:09,726 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 07:13:22,372 - backoff - INFO - Backing off capture_mjpeg(...) for 36
.1s (timeout: timed out)
2019-04-19 07:14:08,479 - backoff - INFO - Backing off capture_mjpeg(...) for 20
0.8s (timeout: timed out)
2019-04-19 07:17:39,349 - backoff - INFO - Backing off capture_mjpeg(...) for 18
3.5s (timeout: timed out)
2019-04-19 07:20:52,992 - backoff - INFO - Backing off capture_mjpeg(...) for 62
6.6s (timeout: timed out)
2019-04-19 07:26:06,512 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 07:26:09,681 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 07:31:29,649 - backoff - INFO - Backing off capture_mjpeg(...) for 10
99.1s (timeout: timed out)
2019-04-19 07:41:06,515 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 07:41:09,934 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 07:49:58,862 - backoff - INFO - Backing off capture_mjpeg(...) for 31
1.3s (timeout: timed out)
2019-04-19 07:55:20,258 - backoff - INFO - Backing off capture_mjpeg(...) for 97
0.6s (timeout: timed out)
2019-04-19 07:56:06,517 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 07:56:09,736 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 08:11:06,519 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 08:11:09,754 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 08:11:40,889 - backoff - INFO - Backing off capture_mjpeg(...) for 11
66.8s (timeout: timed out)
2019-04-19 08:26:06,523 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 08:26:09,697 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 08:31:17,809 - backoff - INFO - Backing off capture_mjpeg(...) for 74
5.9s (timeout: timed out)
2019-04-19 08:41:06,525 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 08:41:09,845 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 08:43:53,744 - backoff - INFO - Backing off capture_mjpeg(...) for 97
2.9s (timeout: timed out)
2019-04-19 08:56:06,527 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 08:56:09,722 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 09:00:16,770 - backoff - INFO - Backing off capture_mjpeg(...) for 34
6.2s (timeout: timed out)
2019-04-19 09:06:13,119 - backoff - INFO - Backing off capture_mjpeg(...) for 82
1.2s (timeout: timed out)
2019-04-19 09:11:06,529 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 09:11:09,709 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 09:20:04,309 - backoff - INFO - Backing off capture_mjpeg(...) for 99
.6s (timeout: timed out)
2019-04-19 09:21:53,980 - backoff - INFO - Backing off capture_mjpeg(...) for 91
1.9s (timeout: timed out)
2019-04-19 09:26:06,532 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 09:26:09,747 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 09:37:16,005 - backoff - INFO - Backing off capture_mjpeg(...) for 10
5.3s (timeout: timed out)
2019-04-19 09:39:11,462 - backoff - INFO - Backing off capture_mjpeg(...) for 92
7.5s (timeout: timed out)
2019-04-19 09:41:06,534 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 09:41:09,926 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 09:54:49,099 - backoff - INFO - Backing off capture_mjpeg(...) for 11
14.2s (timeout: timed out)
2019-04-19 09:56:06,536 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 09:56:09,817 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 10:11:06,539 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 10:11:09,717 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 10:13:33,329 - backoff - INFO - Backing off capture_mjpeg(...) for 11
02.7s (timeout: timed out)
2019-04-19 10:26:06,540 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 10:26:09,785 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 10:32:06,108 - backoff - INFO - Backing off capture_mjpeg(...) for 93
.8s (timeout: timed out)
2019-04-19 10:33:50,037 - backoff - INFO - Backing off capture_mjpeg(...) for 97
.5s (timeout: timed out)
2019-04-19 10:35:37,659 - backoff - INFO - Backing off capture_mjpeg(...) for 33
.2s (timeout: timed out)
2019-04-19 10:36:20,912 - backoff - INFO - Backing off capture_mjpeg(...) for 10
72.2s (timeout: timed out)
2019-04-19 10:41:06,544 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 10:41:10,007 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 10:54:23,213 - backoff - INFO - Backing off capture_mjpeg(...) for 24
2.9s (timeout: timed out)
2019-04-19 10:56:06,546 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 10:56:09,741 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 10:58:36,179 - backoff - INFO - Backing off capture_mjpeg(...) for 63
5.9s (timeout: timed out)
2019-04-19 11:09:22,098 - backoff - INFO - Backing off capture_mjpeg(...) for 59
.3s (timeout: timed out)
2019-04-19 11:10:31,426 - backoff - INFO - Backing off capture_mjpeg(...) for 43
9.3s (timeout: timed out)
2019-04-19 11:11:06,549 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 11:11:09,721 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 11:18:00,794 - backoff - INFO - Backing off capture_mjpeg(...) for 19
2.1s (timeout: timed out)
2019-04-19 11:21:23,022 - backoff - INFO - Backing off capture_mjpeg(...) for 96
4.2s (timeout: timed out)
2019-04-19 11:26:06,550 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 11:26:09,748 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 11:37:37,300 - backoff - INFO - Backing off capture_mjpeg(...) for 19
3.8s (timeout: timed out)
2019-04-19 11:41:01,188 - backoff - INFO - Backing off capture_mjpeg(...) for 31
7.4s (timeout: timed out)
2019-04-19 11:41:06,552 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 11:41:09,709 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 11:46:28,654 - backoff - INFO - Backing off capture_mjpeg(...) for 56
0.7s (timeout: timed out)
2019-04-19 11:55:59,493 - backoff - INFO - Backing off capture_mjpeg(...) for 7.
7s (timeout: timed out)
2019-04-19 11:56:06,554 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 11:56:10,008 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 11:56:17,216 - backoff - INFO - Backing off capture_mjpeg(...) for 37
6.6s (timeout: timed out)
2019-04-19 12:02:43,872 - backoff - INFO - Backing off capture_mjpeg(...) for 16
.3s (timeout: timed out)
2019-04-19 12:03:10,178 - backoff - INFO - Backing off capture_mjpeg(...) for 48
.7s (timeout: timed out)
2019-04-19 12:04:08,917 - backoff - INFO - Backing off capture_mjpeg(...) for 12
8.6s (timeout: timed out)
2019-04-19 12:06:27,575 - backoff - INFO - Backing off capture_mjpeg(...) for 98
1.2s (timeout: timed out)
2019-04-19 12:11:06,556 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 12:11:10,038 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 12:22:58,883 - backoff - INFO - Backing off capture_mjpeg(...) for 57
8.7s (timeout: timed out)
2019-04-19 12:26:06,559 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 12:26:09,751 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 12:32:47,672 - backoff - INFO - Backing off capture_mjpeg(...) for 11
34.1s (timeout: timed out)
2019-04-19 12:41:06,562 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 12:41:09,821 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 12:51:51,809 - backoff - INFO - Backing off capture_mjpeg(...) for 91
3.0s (timeout: timed out)
2019-04-19 12:56:06,565 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 12:56:09,833 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 13:07:14,951 - backoff - INFO - Backing off capture_mjpeg(...) for 16
5.6s (timeout: timed out)
2019-04-19 13:10:10,660 - backoff - INFO - Backing off capture_mjpeg(...) for 97
.9s (timeout: timed out)
2019-04-19 13:11:06,568 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 13:11:09,957 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 13:11:58,696 - backoff - INFO - Backing off capture_mjpeg(...) for 84
1.5s (timeout: timed out)
2019-04-19 13:26:06,571 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 13:26:09,862 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 13:26:10,267 - backoff - INFO - Backing off capture_mjpeg(...) for 85
3.1s (timeout: timed out)
2019-04-19 13:40:33,522 - backoff - INFO - Backing off capture_mjpeg(...) for 32
6.1s (timeout: timed out)
2019-04-19 13:41:06,575 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 13:41:09,803 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 13:46:09,720 - backoff - INFO - Backing off capture_mjpeg(...) for 10
40.3s (timeout: timed out)
2019-04-19 13:56:06,577 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 13:56:09,802 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 14:03:40,141 - backoff - INFO - Backing off capture_mjpeg(...) for 48
7.3s (timeout: timed out)
2019-04-19 14:11:06,580 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 14:11:09,802 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 14:11:57,533 - backoff - INFO - Backing off capture_mjpeg(...) for 15
4.8s (timeout: timed out)
2019-04-19 14:14:42,449 - backoff - INFO - Backing off capture_mjpeg(...) for 73
7.6s (timeout: timed out)
2019-04-19 14:26:06,582 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 14:26:09,859 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 14:27:10,029 - backoff - INFO - Backing off capture_mjpeg(...) for 77
9.5s (timeout: timed out)
2019-04-19 14:40:19,606 - backoff - INFO - Backing off capture_mjpeg(...) for 11
71.4s (timeout: timed out)
2019-04-19 14:41:06,585 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 14:41:09,894 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 14:56:06,588 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 14:56:09,878 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 15:00:01,114 - backoff - INFO - Backing off capture_mjpeg(...) for 34
9.2s (timeout: timed out)
2019-04-19 15:06:00,447 - backoff - INFO - Backing off capture_mjpeg(...) for 70
7.0s (timeout: timed out)
2019-04-19 15:11:06,592 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 15:11:10,073 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 15:17:57,515 - backoff - INFO - Backing off capture_mjpeg(...) for 81
.8s (timeout: timed out)
2019-04-19 15:19:29,405 - backoff - INFO - Backing off capture_mjpeg(...) for 41
8.1s (timeout: timed out)
2019-04-19 15:26:06,594 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 15:26:09,879 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 15:26:37,597 - backoff - INFO - Backing off capture_mjpeg(...) for 65
0.0s (timeout: timed out)
2019-04-19 15:37:37,729 - backoff - INFO - Backing off capture_mjpeg(...) for 70
5.9s (timeout: timed out)
2019-04-19 15:41:06,599 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 15:41:09,794 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 15:49:33,773 - backoff - INFO - Backing off capture_mjpeg(...) for 10
50.9s (timeout: timed out)
2019-04-19 15:56:06,601 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 15:56:09,822 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 16:07:14,751 - backoff - INFO - Backing off capture_mjpeg(...) for 68
8.5s (timeout: timed out)
2019-04-19 16:11:06,605 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 16:11:10,105 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 16:18:53,390 - backoff - INFO - Backing off capture_mjpeg(...) for 23
7.6s (timeout: timed out)
2019-04-19 16:23:01,033 - backoff - INFO - Backing off capture_mjpeg(...) for 96
2.1s (timeout: timed out)
2019-04-19 16:26:06,609 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 16:26:11,272 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 16:39:13,244 - backoff - INFO - Backing off capture_mjpeg(...) for 11
88.1s (timeout: timed out)
2019-04-19 16:41:06,611 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 16:41:09,899 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 16:56:06,614 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 16:56:09,865 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 16:59:11,470 - backoff - INFO - Backing off capture_mjpeg(...) for 10
28.9s (timeout: timed out)
2019-04-19 17:11:06,617 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 17:11:09,943 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 17:16:30,505 - backoff - INFO - Backing off capture_mjpeg(...) for 72
0.0s (timeout: timed out)
2019-04-19 17:26:06,621 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 17:26:10,066 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 17:28:40,616 - backoff - INFO - Backing off capture_mjpeg(...) for 68
5.2s (timeout: timed out)
2019-04-19 17:40:15,849 - backoff - INFO - Backing off capture_mjpeg(...) for 40
0.3s (timeout: timed out)
2019-04-19 17:41:06,624 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 17:41:09,843 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 17:47:06,280 - backoff - INFO - Backing off capture_mjpeg(...) for 34
8.4s (timeout: timed out)
2019-04-19 17:53:04,822 - backoff - INFO - Backing off capture_mjpeg(...) for 64
2.9s (timeout: timed out)
2019-04-19 17:56:06,625 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 17:56:09,858 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 18:03:57,848 - backoff - INFO - Backing off capture_mjpeg(...) for 99
3.4s (timeout: timed out)
2019-04-19 18:11:06,629 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 18:11:09,919 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 18:20:31,409 - backoff - INFO - Backing off capture_mjpeg(...) for 68
.5s (error: [Errno 104] Connection reset by peer)
2019-04-19 18:21:39,999 - backoff - INFO - Backing off capture_mjpeg(...) for 38
1.8s (BadStatusLine: '')
2019-04-19 18:26:06,632 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 18:26:10,141 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 18:28:01,939 - backoff - INFO - Backing off capture_mjpeg(...) for 10
21.4s (BadStatusLine: '')
2019-04-19 18:35:44,244 - octoprint.util.comm - INFO - Finished in 77343.745 s.
2019-04-19 18:35:44,246 - octoprint.util.comm - INFO - Changing monitoring state
 from "Printing" to "Finishing"
2019-04-19 18:35:44,251 - octoprint.filemanager.analysis - INFO - Starting analy
sis of local:CFFFP_deer_head_detailed.gcode
2019-04-19 18:35:44,256 - octoprint.filemanager.analysis - INFO - Invoking analy
sis command: /home/pi/oprint/bin/python2 -m octoprint analysis gcode --speed-x=6
000 --speed-y=6000 --max-t=10 --throttle=0.0 --throttle-lines=100 /home/pi/.octo
print/uploads/CFFFP_deer_head_detailed.gcode
2019-04-19 18:35:44,408 - octoprint.util.comm - INFO - Changing monitoring state
 from "Finishing" to "Operational"
2019-04-19 18:35:45,274 - octoprint.plugins.tracking - INFO - Sent tracking even
t print_done, payload: {'origin': 'local', 'throttled_mask': 327680, 'elapsed':
77343, 'file': '8c4273e384d1aedcc848b1e9c5af1f6b7ed55ce7', 'throttled_now': Fals
e, 'throttled_past': True}
2019-04-19 18:41:06,634 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 18:41:10,765 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 18:41:54,097 - octoprint.filemanager.analysis - INFO - Analysis of en
try local:CFFFP_deer_head_detailed.gcode finished, needed 369.85s
2019-04-19 18:45:03,360 - backoff - INFO - Backing off capture_mjpeg(...) for 10
37.3s (BadStatusLine: '')
2019-04-19 18:56:06,635 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 18:56:10,086 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 19:02:20,802 - backoff - INFO - Backing off capture_mjpeg(...) for 92
2.8s (BadStatusLine: '')
2019-04-19 19:11:06,639 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 19:11:09,881 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 19:17:43,681 - backoff - INFO - Backing off capture_mjpeg(...) for 62
1.0s (error: [Errno 104] Connection reset by peer)
2019-04-19 19:26:06,641 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 19:26:09,932 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 19:28:04,787 - backoff - INFO - Backing off capture_mjpeg(...) for 80
6.9s (error: [Errno 104] Connection reset by peer)
2019-04-19 19:41:06,644 - octoprint.server.heartbeat - INFO - Server heartbeat <
3
2019-04-19 19:41:10,159 - octoprint.plugins.tracking - INFO - Sent tracking even
t ping, payload: {}
2019-04-19 19:41:31,763 - backoff - INFO - Backing off capture_mjpeg(...) for 40
2.1s (BadStatusLine: '')
2019-04-19 19:48:13,920 - backoff - INFO - Backing off capture_mjpeg(...) for 86
6.3s (BadStatusLine: '')
2019-04-19 19:55:03,861 - octoprint.util.comm - ERROR - Unexpected error while r
eading from serial port
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py
", line 2605, in _readline
    ret = self._serial.readline()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py
", line 4681, in readline
    c = self.read(1)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/serial/serialposix.py"
, line 501, in read
    'device reports readiness to read but returned no data '
SerialException: device reports readiness to read but returned no data (device d
isconnected or multiple access on port?)
2019-04-19 19:55:03,873 - octoprint.util.comm - ERROR - Please see https://faq.o
ctoprint.org/serialerror for possible reasons of this.
2019-04-19 19:55:03,882 - octoprint.util.comm - INFO - Changing monitoring state
 from "Operational" to "Offline (Error: SerialException: 'device reports readine
ss to read but returned no data (device disconnected or multiple access on port?
)' @ comm.py:_readline:2605)"
2019-04-19 19:55:19,466 - tornado.access - WARNING - 404 GET /favicon.ico (::fff
f:192.168.1.76) 6.86ms
2019-04-19 19:55:19,478 - octoprint.server.util.sockjs - INFO - New connection f
rom client: fe80::1c85:60a8:54e7:5f89
2019-04-19 19:55:21,159 - octoprint.server.api - INFO - Actively logging in user
 mrlprint from fe80::1c85:60a8:54e7:5f89
2019-04-19 19:55:21,584 - octoprint.server.util.flask - INFO - Passively logging
 in user mrlprint from fe80::1c85:60a8:54e7:5f89
2019-04-19 19:55:21,861 - octoprint.server.util.sockjs - INFO - Client connectio
n closed: fe80::1c85:60a8:54e7:5f89
2019-04-19 19:55:24,515 - octoprint.server.util.sockjs - INFO - New connection f
rom client: fe80::1c85:60a8:54e7:5f89
2019-04-19 19:55:24,788 - octoprint.server.util.flask - INFO - Passively logging
 in user mrlprint from fe80::1c85:60a8:54e7:5f89
2019-04-19 19:55:26,266 - octoprint.server.util.sockjs - INFO - User mrlprint lo
gged in on the socket from client fe80::1c85:60a8:54e7:5f89
2019-04-19 19:55:36,209 - octoprint.server.api.system - INFO - Performing comman
d for core:shutdown: sudo shutdown -h now
2019-04-19 19:55:36,404 - octoprint.server.util.sockjs - INFO - Client connectio
n closed: fe80::1c85:60a8:54e7:5f89
2019-04-19 19:55:36,588 - octoprint.server - INFO - Shutting down...
2019-04-19 19:55:36,955 - octoprint.events - INFO - Processing shutdown event, t
his will be our last event
2019-04-19 19:55:36,957 - octoprint.events - INFO - Event loop shut down
2019-04-19 19:55:36,979 - octoprint.server - INFO - Goodbye!
pi@octopi:~ $  nano ~/.octoprint/config.yaml

Try running it in Safe Mode (to remove any third-party plugins) and see if the problem continues. I see a serial error in the log which suggests that you visit a particular URL and read all about that to troubleshoot.

1 Like

Also, paste the results of this:

ls -al ~/.oprint/logs/

Edit- actually the files are fine. You can't execute a log file. Also "sudo" and "rm -r", together or not, are dangerous commands if you don't know what you're doing.

1 Like

pi@octopi:~ $ ls -al ~/.oprint/logs/
ls: cannot access '/home/pi/.oprint/logs/': No such file or directory

Perhaps instead: ls -al ~/.octoprint/logs/

Doesn't matter, that isn't your problem or anything near it- as your 'terminal log' shows, you figured out how to view the logs.

Look at the 'SerialException' link. That's your problem.