Jump to content

Delete Old Content - Supporttopic


Fosters

Recommended Posts

Posted
On 4/1/2018 at 5:57 PM, Fosters said:

We’ll have a new bug fix release ready on Tuesday which is going to address several issues. 

Have you posted the bug fix? I'd like to give this thing a whirl, but if there are known issues being addressed I'd prefer to have the bug fix right out of the gate.

  • Replies 78
  • Created
  • Last Reply
  • 2 weeks later...
Posted

i need to be able to delete any thread that has zero posts thats 30 days old

not zero new posts.... NO POSTS AT ALL

this is for my news feed forum on another site if no one engauges in 30 days i want it gone

please help me accomplish this

Posted

We were finally able to identify the issue for @fix3r . Our tasks runs only all 12h and then it removed only 20 items per run so it can take a while till the old content was really removed:D

We're going to improve this in the next release which should be released next week.

Posted

Updated and running on www.progungroup.com 

1647657928_ScreenShot2018-05-23at5_01_08PM.png.3f5201c934f540d10caf8443e0f417eb.png

 

will check back tomorrow and see how it going , it set to delete all content over 30 days old

 

@Fosters please add an option to ignore threads that don't have 0 amount of total replies, On another website i have 42,000 threads and i only want to keep the threads no body has ever replied too that are over 30 days old

 

Posted
21 hours ago, fix3r said:

Updated and running on www.progungroup.com 

1647657928_ScreenShot2018-05-23at5_01_08PM.png.3f5201c934f540d10caf8443e0f417eb.png

 

will check back tomorrow and see how it going , it set to delete all content over 30 days old

 

@Fosters please add an option to ignore threads that don't have 0 amount of total replies, On another website i have 42,000 threads and i only want to keep the threads no body has ever replied too that are over 30 days old

 

Any news?

Posted

Still nothing?
I'v been running this now on a test board with 400 000 demo topics and it worked fine for me. The old were indeed deleted.

Posted

I have such a message:

Quote

Blocked tasks
It seems that the following tasks are often blocked: deleteOldContent.
Please run them manually. If you need help solving problems, contact technical support.

 

Posted

same here with the Beta (Running via Cron, table prefix is ip_*).
Seems to be a Session Issue
 

Exception:
RuntimeException Object
(
   [message:protected] => LOCATION_UNKNOWN
   [string:Exception:private] => 
   [code:protected] => 0
   [file:protected] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/system/Session/Session.php
   [line:protected] => 61
   [trace:Exception:private] => Array
       (
           [0] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/system/Member/Member.php
                   [line] => 145
                   [function] => i
                   [class] => IPS\_Session
                   [type] => ::
                   [args] => Array
                       (
                       )

               )

           [1] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/system/Content/Item.php
                   [line] => 2486
                   [function] => loggedIn
                   [class] => IPS\_Member
                   [type] => ::
                   [args] => Array
                       (
                       )

               )

           [2] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/applications/forums/sources/Topic/Topic.php
                   [line] => 277
                   [function] => getItemsWithPermission
                   [class] => IPS\Content\_Item
                   [type] => ::
                   [args] => Array
                       (
                           [0] => Array
                               (
                                   [0] => Array
                                       (
                                           [0] => ( forums_topics.forum_id IN('4') )
                                       )

                                   [1] => Array
                                       (
                                           [0] => forums_topics.pinned=0
                                       )

                                   [2] => Array
                                       (
                                           [0] => forums_topics.featured=0
                                       )

                                   [3] => Array
                                       (
                                           [0] => forums_topics.last_post<?
                                           [1] => 1519754041
                                       )

                                   [4] => Array
                                       (
                                           [0] => forums_topics.start_date<?
                                           [1] => 1519754041
                                       )

                               )

                           [1] => 
                           [2] => 1000
                           [3] => 
                           [4] => -1
                           [5] => 0
                           [6] => 
                           [7] => 
                           [8] => 
                           [9] => 
                           [10] => 
                           [11] => 
                           [12] => 1
                           [13] => 1
                           [14] => 1
                           [15] => 1
                           [16] => 
                       )

               )

           [3] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/applications/deleteoldcontent/sources/Deletionrule/Deletionrule.php
                   [line] => 290
                   [function] => getItemsWithPermission
                   [class] => IPS\forums\_Topic
                   [type] => ::
                   [args] => Array
                       (
                           [0] => Array
                               (
                                   [0] => Array
                                       (
                                           [0] => ( forums_topics.forum_id IN('4') )
                                       )

                                   [1] => Array
                                       (
                                           [0] => forums_topics.pinned=0
                                       )

                                   [2] => Array
                                       (
                                           [0] => forums_topics.featured=0
                                       )

                                   [3] => Array
                                       (
                                           [0] => forums_topics.last_post<?
                                           [1] => 1519754041
                                       )

                                   [4] => Array
                                       (
                                           [0] => forums_topics.start_date<?
                                           [1] => 1519754041
                                       )

                               )

                           [1] => 
                           [2] => 1000
                           [3] => 
                           [4] => -1
                           [5] => 0
                           [6] => 
                           [7] => 
                           [8] => 
                           [9] => 
                           [10] => 
                           [11] => 
                           [12] => 1
                       )

               )

           [4] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/applications/deleteoldcontent/extensions/core/Queue/DeleteOldContent.php
                   [line] => 57
                   [function] => countItems
                   [class] => IPS\deleteoldcontent\_Deletionrule
                   [type] => ->
                   [args] => Array
                       (
                       )

               )

           [5] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/system/Task/Task.php
                   [line] => 47
                   [function] => run
                   [class] => IPS\deleteoldcontent\extensions\core\Queue\_DeleteOldContent
                   [type] => ->
                   [args] => Array
                       (
                           [0] => Array
                               (
                                   [id] => 2
                                   [total] => 176
                               )

                           [1] => 0
                       )

               )

           [6] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/applications/core/tasks/queue.php
                   [line] => 43
                   [function] => runQueue
                   [class] => IPS\_Task
                   [type] => ::
                   [args] => Array
                       (
                       )

               )

           [7] => Array
               (
                   [function] => IPS\core\tasks\{closure}
                   [class] => IPS\core\tasks\_queue
                   [type] => ->
                   [args] => Array
                       (
                       )

               )

           [8] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/system/Task/Task.php
                   [line] => 347
                   [function] => call_user_func
                   [args] => Array
                       (
                           [0] => Closure Object
                               (
                                   [this] => IPS\core\tasks\queue Object
                                       (
                                           [_data:protected] => Array
                                               (
                                                   [id] => 836
                                                   [key] => queue
                                                   [frequency] => P0Y0M0DT0H1M0S
                                                   [next_run] => 1527530041
                                                   [running] => 1
                                                   [enabled] => 1
                                                   [plugin] => 
                                                   [app] => core
                                                   [lock_count] => 0
                                                   [last_run] => 1527326797
                                               )

                                           [_new:protected] => 
                                           [changed] => Array
                                               (
                                               )

                                           [skipCloneDuplication] => 
                                       )

                               )

                       )

               )

           [9] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/applications/core/tasks/queue.php
                   [line] => 55
                   [function] => runUntilTimeout
                   [class] => IPS\_Task
                   [type] => ->
                   [args] => Array
                       (
                           [0] => Closure Object
                               (
                                   [this] => IPS\core\tasks\queue Object
                                       (
                                           [_data:protected] => Array
                                               (
                                                   [id] => 836
                                                   [key] => queue
                                                   [frequency] => P0Y0M0DT0H1M0S
                                                   [next_run] => 1527530041
                                                   [running] => 1
                                                   [enabled] => 1
                                                   [plugin] => 
                                                   [app] => core
                                                   [lock_count] => 0
                                                   [last_run] => 1527326797
                                               )

                                           [_new:protected] => 
                                           [changed] => Array
                                               (
                                               )

                                           [skipCloneDuplication] => 
                                       )

                               )

                       )

               )

           [10] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/system/Task/Task.php
                   [line] => 248
                   [function] => execute
                   [class] => IPS\core\tasks\_queue
                   [type] => ->
                   [args] => Array
                       (
                       )

               )

           [11] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/system/Task/Task.php
                   [line] => 217
                   [function] => run
                   [class] => IPS\_Task
                   [type] => ->
                   [args] => Array
                       (
                       )

               )

           [12] => Array
               (
                   [file] => /scruffy/filmvorfuehrer/pub/filmvorfuehrer.de/applications/core/interface/task/task.php
                   [line] => 62
                   [function] => runAndLog
                   [class] => IPS\_Task
                   [type] => ->
                   [args] => Array
                       (
                       )

               )

       )

   [previous:Exception:private] => 
)

 

image.thumb.png.b429acbcd7fd095e03fc0e01837ff29e.png

Posted

Amazing! ( not really amazing ? , but I’m really thankful for this hint)

This makes absolutely sense why rhe last beta worked for me and some folks, but not for every body.

You can  expect a new beta release tomorrow ?

Posted
On 5/30/2018 at 5:15 AM, kihon said:

Will this work for the gallery?  or do you have any plans to make this work for the gallery?

No & no

A new version is available.

This adresses ALL the issues with the cron job. Thanks everybody for the patience, really appreciate it:)

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...