01/08/2013, 07:05 AM
|
#161 (permalink) |
|
Member
Posts: 2,090
|
Something you can try:
Remove the activity - Open up a shell, and type Code:
luna-send -n 1 -a com.palm.db palm://com.palm.activitymanager/cancel '{"activityName":"mojodbpurge"}'
Code:
luna-send -n 1 -a com.palm.activitymanager palm://com.palm.db/internal/scheduledPurge '{"$activity": {"activityId":-1}}'
- Open up a shell and type: Code:
luna-send -n 1 -f -a com.palm.db palm://com.palm.activitymanager/create '{
"activity": {
"name":"mojodbpurge",
"description":"Scheduled mojodb purge activity",
"type": {
"background":true,
"bus":"private",
"persist":true,
"power":true
},
"schedule": {
"interval":"1d",
"local":true
},
"callback": {
"method":"palm://com.palm.db/internal/scheduledPurge"
}
},
"replace":true,
"start":true
}'
- Reboot Note if you removed the activity this is the same command to restore the activity. (Peek original activity definition: https://github.com/openwebos/db8/blo....db.purge.json) The above has not been thoroughly tested, but they seem to carry out their designated actions.
__________________
Contact: @GMMan_BZFlag (me on Twitter) | webOS onTap | @webOSonTap webOS Releases: Change your App Catalog country: TouchPad/PC | TouchPad/webOS Resources | Search suggestion patch for browser | Cycling Email Notifications | Don't Doctor! Make a good support request. | How to post logs | webOS Charge Monitor I will be busy, so I may not be able to provide private support. Last edited by GMMan; 01/08/2013 at 08:00 AM. |
01/08/2013, 07:46 AM
|
#162 (permalink) |
|
Member
![]() |
I seem to get this on my 64GB white beast too. Prewared and patched until it's unrecognizable and dual booting CM10 for good measure with Ubuntu gathering a little dust! :-)
This affects me on my way home reading (pReader) on the train. If I don't restart before I leave the office it lasts for around 45 mins, becomes sluggish, laggy and then just freezes. I have to hold the power and repeatedly press the 'home' button to get it to restart. It doesn't seem to matter when I leave the office, if it goes, it goes pretty much the same time lapse after leaving the office. The TP is fine in the morning and is on the touchstone all night (with wi-fi on) and all day at work too! I'll give GMMan's 'adjustment' a go tonight and report back on it in a couple of days (if it works). Because of the different times though, I don't know if this will help my situation. |
01/09/2013, 01:43 AM
|
#163 (permalink) |
|
Member
Posts: 2,090
|
Bump. Yes, I know it's only been a day, but I'd like to hear reports of whether or not the above commands actually run. Just report here if you've run the commands or not. I'll have the instructions moved out to a separate thread if they are confirmed to work.
__________________
Contact: @GMMan_BZFlag (me on Twitter) | webOS onTap | @webOSonTap webOS Releases: Change your App Catalog country: TouchPad/PC | TouchPad/webOS Resources | Search suggestion patch for browser | Cycling Email Notifications | Don't Doctor! Make a good support request. | How to post logs | webOS Charge Monitor I will be busy, so I may not be able to provide private support. |
01/09/2013, 06:44 AM
|
#164 (permalink) | |
|
Member
![]() |
Quote:
|
|
01/09/2013, 07:51 AM
|
#165 (permalink) |
|
Member
![]() |
GMMan, failed at the first hurdle I'm afraid!
Using Xserver I get after the first line of code: {"errorCode":2,"errorText":"Activity name/creator pair not found","returnValue":false} I can't play now as I'm at work but I have checked spaces etc to make sure I copied yours correctly. |
01/09/2013, 10:37 AM
|
#167 (permalink) | |
|
Member
Posts: 2,090
|
Quote:
Code:
luna-send -n 1 -a com.palm.db palm://com.palm.activitymanager/cancel '{"activityId":your_id_here}'
__________________
Contact: @GMMan_BZFlag (me on Twitter) | webOS onTap | @webOSonTap webOS Releases: Change your App Catalog country: TouchPad/PC | TouchPad/webOS Resources | Search suggestion patch for browser | Cycling Email Notifications | Don't Doctor! Make a good support request. | How to post logs | webOS Charge Monitor I will be busy, so I may not be able to provide private support. |
|
01/09/2013, 02:31 PM
|
#169 (permalink) |
|
Member
Posts: 2,090
|
Hmm, it could be possible for DB8 to automatically reinstate the original activity on reboot. I'll take a look at it again.
__________________
Contact: @GMMan_BZFlag (me on Twitter) | webOS onTap | @webOSonTap webOS Releases: Change your App Catalog country: TouchPad/PC | TouchPad/webOS Resources | Search suggestion patch for browser | Cycling Email Notifications | Don't Doctor! Make a good support request. | How to post logs | webOS Charge Monitor I will be busy, so I may not be able to provide private support. |
01/10/2013, 07:15 AM
|
#170 (permalink) |
|
Member
![]() |
Sorry, same error message using novaterm session:
root@MikesTouchpad:/# luna-send -n 1 -a com.palm.db palm://com.palm.activitymanager/cancel '{"activityName":"mojodbpurge"}' {"errorCode":2,"errorText":"Activity name/creator pair not found","returnValue":false} root@MikesTouchpad:/# This was from a copy/paste from here. :-( Last edited by MikeN68; 01/10/2013 at 07:16 AM. Reason: spelling! |
01/10/2013, 09:38 AM
|
#172 (permalink) |
|
Member
Posts: 2,090
|
The system could be automatically reinstating activities on reboot. The file responsible for this activity is in /etc/palm/activities/com.palm.db/com.palm.db.purge.json. Using Impostah with Master Mode enabled, go to that path, and either edit or move it elsewhere, so the system will either not find and can't put it back in, or it will use your new settings. Do the commands in the earlier post, then reboot.
__________________
Contact: @GMMan_BZFlag (me on Twitter) | webOS onTap | @webOSonTap webOS Releases: Change your App Catalog country: TouchPad/PC | TouchPad/webOS Resources | Search suggestion patch for browser | Cycling Email Notifications | Don't Doctor! Make a good support request. | How to post logs | webOS Charge Monitor I will be busy, so I may not be able to provide private support. |
01/12/2013, 02:40 AM
|
#177 (permalink) |
|
Member
![]()
Posts: 9
|
Hi,
this is interesting: My Pre3 had no data loss (needed no reboot) since my last post before Christmas. I did travel, went through several roaming countries, to Slovakia (home country for the used SIM card), now I am back to Germany since 2.1.2013, no data loss, no reboots needed! Actually the divice is in roaming mode here, there is Slovak SIM card in it (as was before/all last year). I did nothing since my last db restore attempt. Hope it lasts. Strange ![]() I'll leave message when it occurs again.
|
01/15/2013, 07:05 AM
|
#178 (permalink) | |
|
Member
![]()
Posts: 9
|
Quote:
|
|
01/15/2013, 09:48 AM
|
#179 (permalink) |
|
Member
Posts: 2,090
|
I'm not sure how the activity is actually put in. I'm assuming it uses configurator, and the last time I used configurator it didn't change anything unless you force a rescan.
__________________
Contact: @GMMan_BZFlag (me on Twitter) | webOS onTap | @webOSonTap webOS Releases: Change your App Catalog country: TouchPad/PC | TouchPad/webOS Resources | Search suggestion patch for browser | Cycling Email Notifications | Don't Doctor! Make a good support request. | How to post logs | webOS Charge Monitor I will be busy, so I may not be able to provide private support. |
01/15/2013, 02:59 PM
|
#180 (permalink) |
|
Member
![]()
Posts: 7
|
Haven't needed a restart for eight days now!?
------- After restarting my tp every morning for six months, I monitored the time I could use the tp before needing a restart. For three days, it was 10 minutes to 2 hours. On Monday of last week, I decide my 'user data free' tp didn't really need a backup. When I turned it off, I got nasty messages that all data would be deleted, and then the 'whirling death screen' started. I dumped the screen, and thought I reenabled backup. After not needing a restart for three days, I noticed that backup was disabled. I turned backup back on, and expected to have to do restarts again. Nope - backup is on and running, and I still haven't needed a restart either! I'll see how long it lasts!? |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



