Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Henrik Vincent 122 posts 616 karma points
    Aug 04, 2015 @ 13:20
    Henrik Vincent
    0

    "Publish at" does'nt publish.

    Hi

    I've just finished a new Umbracosite last week and added a few articles to be published yesterday.

    But the articles are still marked as Unpublished in Umbraco and the URL's lead to 404 pages.

    I've tried Googling this but haven't been able to establish whether it's my installation which is bugging or if this is a known error.

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Aug 06, 2015 @ 11:36
    Alex Skrypnyk
    0

    Hi Henrik,

    Can you look at Umbraco log? There often a lot of information about errors.

    Also check please /app_data/umbraco.config file, does it exist?

    Thanks, Alex

  • Henrik Vincent 122 posts 616 karma points
    Aug 10, 2015 @ 07:35
    Henrik Vincent
    0

    Hi Alex

    Thank you for replying

    It's the UmbracoTraceLog.txt, correct?

    I can't seem to find anything about the article I'm trying to publish.

    I've made a test article and set it to publish at 09:26:16.

    Below is what the UmbracoTraceLog contains from when I created the article until it should have been published**

    **Added in a new comment, since the codeeditor doesn't seem to work

    And yes. Umbraco.config does exist, but I can't seem to find anything about the article in there either.

  • Henrik Vincent 122 posts 616 karma points
    Aug 10, 2015 @ 07:39
    Henrik Vincent
    0
    2015-08-10 09:25:12,864 [46] INFO  Umbraco.Core.PluginManager - [Thread 33] Starting resolution types of umbraco.interfaces.ICacheRefresher
            2015-08-10 09:25:12,864 [46] INFO  Umbraco.Core.PluginManager - [Thread 33] Completed resolution of types of umbraco.interfaces.ICacheRefresher, found 20 (took 0ms)
            2015-08-10 09:25:13,270 [46] INFO  Umbraco.Web.Scheduling.BackgroundTaskRunner`1[[Umbraco.Web.Scheduling.IBackgroundTask, umbraco, Version=1.0.5610.18898, Culture=neutral, PublicKeyToken=null]] - [Thread 87] Down, tasks completed.
            2015-08-10 09:25:13,270 [46] INFO  Umbraco.Web.Scheduling.BackgroundTaskRunner`1[[Umbraco.Web.Scheduling.IBackgroundTask, umbraco, Version=1.0.5610.18898, Culture=neutral, PublicKeyToken=null]] - [Thread 87] Down, tasks completed.
            2015-08-10 09:25:13,286 [46] INFO  umbraco.content - [Thread 32] Save Xml to file...
            2015-08-10 09:25:13,520 [46] INFO  Umbraco.Web.Scheduling.BackgroundTaskRunner`1[[Umbraco.Web.Scheduling.IBackgroundTask, umbraco, Version=1.0.5610.18898, Culture=neutral, PublicKeyToken=null]] - [Thread 87] Down, tasks completed.
            2015-08-10 09:25:13,536 [46] INFO  Umbraco.Web.Scheduling.BackgroundTaskRunner`1[[Umbraco.Web.PublishedCache.XmlPublishedCache.XmlCacheFilePersister, umbraco, Version=1.0.5610.18898, Culture=neutral, PublicKeyToken=null]] - [Thread 45] Down, tasks completed.
            2015-08-10 09:25:13,551 [46] INFO  Umbraco.Core.UmbracoApplicationBase - [Thread 87] Application shutdown. Reason: ConfigurationChange
            2015-08-10 09:25:13,973 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Determining hash of code files on disk
            2015-08-10 09:25:13,989 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Hash determined (took 6ms)
            2015-08-10 09:25:13,989 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
            2015-08-10 09:25:14,004 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 37 (took 12ms)
            2015-08-10 09:25:14,098 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter
            2015-08-10 09:25:14,098 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 0 (took 0ms)
            2015-08-10 09:25:14,098 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyValueConverter
            2015-08-10 09:25:14,098 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyValueConverter, found 16 (took 1ms)
            2015-08-10 09:25:14,098 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Starting resolution types of Umbraco.Web.Mvc.SurfaceController
            2015-08-10 09:25:14,098 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 4 (took 0ms)
            2015-08-10 09:25:14,098 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Starting resolution types of Umbraco.Web.WebApi.UmbracoApiController
            2015-08-10 09:25:14,098 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Completed resolution of types of Umbraco.Web.WebApi.UmbracoApiController, found 35 (took 2ms)
            2015-08-10 09:25:14,176 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Starting resolution types of Umbraco.Core.Media.IThumbnailProvider
            2015-08-10 09:25:14,176 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 3 (took 0ms)
            2015-08-10 09:25:14,176 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Starting resolution types of Umbraco.Core.Media.IImageUrlProvider
            2015-08-10 09:25:14,176 [60] INFO  Umbraco.Core.PluginManager - [Thread 84] Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 1 (took 0ms)
            2015-08-10 09:25:14,817 [60] INFO  Umbraco.Web.Search.ExamineEvents - [Thread 84] Initializing Examine and binding to business logic events
            2015-08-10 09:25:14,926 [60] INFO  Umbraco.Web.Search.ExamineEvents - [Thread 84] Adding examine event handlers for index providers: 3
            2015-08-10 09:25:15,411 [60] INFO  Umbraco.Web.UmbracoModule - [Thread 56] Setting OriginalRequestUrl: www.send-pressemeddelelse.dk:80/umbraco
            2015-08-10 09:25:16,520 [60] INFO  Umbraco.Core.PluginManager - [Thread 12] Starting resolution types of Umbraco.Core.Persistence.Mappers.BaseMapper
            2015-08-10 09:25:16,520 [60] INFO  Umbraco.Core.PluginManager - [Thread 12] Completed resolution of types of Umbraco.Core.Persistence.Mappers.BaseMapper, found 23 (took 0ms)
            2015-08-10 09:25:16,801 [60] INFO  Umbraco.Core.PluginManager - [Thread 56] Starting resolution types of Umbraco.Core.PropertyEditors.IParameterEditor
            2015-08-10 09:25:16,801 [60] INFO  Umbraco.Core.PluginManager - [Thread 56] Completed resolution of types of Umbraco.Core.PropertyEditors.IParameterEditor, found 44 (took 0ms)
            2015-08-10 09:26:05,129 [60] INFO  umbraco.content - [Thread 45] Load Xml from file...
            2015-08-10 09:26:05,348 [60] INFO  umbraco.content - [Thread 45] Successfully loaded Xml from file.
            2015-08-10 09:26:06,067 [60] INFO  Umbraco.Core.PluginManager - [Thread 45] Starting resolution types of Umbraco.Core.Macros.XsltExtensionAttribute
            2015-08-10 09:26:06,083 [60] INFO  Umbraco.Core.PluginManager - [Thread 45] Completed resolution of types of Umbraco.Core.Macros.XsltExtensionAttribute, found 1 (took 1ms)
            2015-08-10 09:26:15,880 [60] INFO  Umbraco.Core.Security.UmbracoMembershipProviderBase - [Thread 12] Login attempt succeeded for username xxx from IP address xx.xx.xx.xx
            2015-08-10 09:26:15,942 [60] INFO  Umbraco.Web.Security.WebSecurity - [Thread 12] User Id: 1 logged in
            2015-08-10 09:26:17,348 [60] INFO  Umbraco.Core.PluginManager - [Thread 33] Starting resolution types of umbraco.interfaces.IApplication
            2015-08-10 09:26:17,348 [60] INFO  Umbraco.Core.PluginManager - [Thread 33] Completed resolution of types of umbraco.interfaces.IApplication, found 7 (took 1ms)
    
  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Aug 10, 2015 @ 10:07
    Alex Skrypnyk
    0

    No errors in the log. Strange, how problem looks now ?

  • Henrik Vincent 122 posts 616 karma points
    Aug 10, 2015 @ 10:32
    Henrik Vincent
    0

    Well the problem is, that even though I set the publish date and time, the articles doesn't get published, and no URL are created.

  • Charles Afford 1163 posts 1709 karma points
    Aug 10, 2015 @ 10:15
    Charles Afford
    0

    Hi, what version of umbraco are you using? If you try and publish one minute from now what happens? Charlie :)

  • Henrik Vincent 122 posts 616 karma points
    Aug 10, 2015 @ 10:36
    Henrik Vincent
    0

    Hi Charles

    That's what I tried in the example given above.

    I'm running the newest Umbraco verison 7.2.5.

    It's an old site, which used to run in a version 4..2.

    I then created the site again from scratch, using the old source codes, since I couldn't get it updated properly.

  • Charles Afford 1163 posts 1709 karma points
    Aug 10, 2015 @ 10:38
    Charles Afford
    0

    Might be worth raising a bug and checking it's not raised in that version :)

  • Henrik Vincent 122 posts 616 karma points
    Aug 10, 2015 @ 11:14
    Henrik Vincent
    0

    I checked if there was a reported bug about this issue.

    All I could find was this: http://issues.umbraco.org/issue/U4-6819 And it doesn't seem to be the same issue, since I don't get any errors. It just doesn't publish my content at the given date and time.

    Guess I'll try and create a bug report, since this is kinda frustrating.

    I have 5 sites, where I create more than 25 posts a day, and a whole lot of them are saved with a "publish at"-date.

  • Henrik Vincent 122 posts 616 karma points
    Aug 10, 2015 @ 11:21
    Henrik Vincent
    0

    So I tried doin a few more test articles and I found some errors in the log.

  • Henrik Vincent 122 posts 616 karma points
    Aug 10, 2015 @ 11:22
    Henrik Vincent
    0
    2015-08-10 12:53:42,498 [7] INFO  Umbraco.Core.UmbracoApplicationBase - [Thread 43] Application shutdown. Reason: ConfigurationChange
            2015-08-10 12:53:42,841 [8] ERROR umbraco.content - [Thread 20] Failed to save Xml to file.
            System.NullReferenceException: Object reference not set to an instance of an object.
               at umbraco.content.SaveXmlToString(XmlDocument xml)
               at umbraco.content.<SaveXmlToFileAsync>d__a.MoveNext()
            2015-08-10 12:53:42,857 [8] INFO  Umbraco.Web.Scheduling.BackgroundTaskRunner`1[[Umbraco.Web.PublishedCache.XmlPublishedCache.XmlCacheFilePersister, umbraco, Version=1.0.5610.18898, Culture=neutral, PublicKeyToken=null]] - [Thread 57] Down, tasks completed.
            2015-08-10 12:53:42,857 [8] INFO  Umbraco.Web.Scheduling.BackgroundTaskRunner`1[[Umbraco.Web.PublishedCache.XmlPublishedCache.XmlCacheFilePersister, umbraco, Version=1.0.5610.18898, Culture=neutral, PublicKeyToken=null]] - [Thread 60] Down.
            2015-08-10 12:53:42,857 [8] INFO  Umbraco.Core.UmbracoApplicationBase - [Thread 60] Application shutdown. Reason: ConfigurationChange
            2015-08-10 12:53:43,419 [59] ERROR umbraco.content - [Thread 61] Failed to load Xml from file.
            System.IO.FileNotFoundException: Could not find file 'd:\web\localuser\mysite\public_html\App_Data\umbraco.config'.
            File name: 'd:\web\localuser\mysite\public_html\App_Data\umbraco.config'
               at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
               at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
               at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
               at umbraco.content.LoadXmlFromFile()
            2015-08-10 12:53:43,435 [59] INFO  umbraco.content - [Thread 61] Loading content from database...
            2015-08-10 12:53:48,013 [59] INFO  Umbraco.Core.PluginManager - [Thread 35] Starting resolution types of Umbraco.Core.Persistence.Mappers.BaseMapper
            2015-08-10 12:53:48,029 [59] INFO  Umbraco.Core.PluginManager - [Thread 35] Completed resolution of types of Umbraco.Core.Persistence.Mappers.BaseMapper, found 23 (took 2ms)
            2015-08-10 12:53:48,341 [59] INFO  Umbraco.Core.PluginManager - [Thread 61] Starting resolution types of Umbraco.Core.PropertyEditors.IParameterEditor
            2015-08-10 12:53:48,341 [59] INFO  Umbraco.Core.PluginManager - [Thread 61] Completed resolution of types of Umbraco.Core.PropertyEditors.IParameterEditor, found 44 (took 2ms)
            2015-08-10 12:53:48,701 [59] INFO  Umbraco.Core.PluginManager - [Thread 61] Starting resolution types of Umbraco.Core.Macros.XsltExtensionAttribute
            2015-08-10 12:53:48,701 [59] INFO  Umbraco.Core.PluginManager - [Thread 61] Completed resolution of types of Umbraco.Core.Macros.XsltExtensionAttribute, found 1 (took 0ms)
            2015-08-10 12:53:51,951 [59] INFO  umbraco.content - [Thread 22] Save Xml to file...
            2015-08-10 12:56:02,592 [59] INFO  Umbraco.Core.PluginManager - [Thread 50] Starting resolution types of umbraco.interfaces.ICacheRefresher
            2015-08-10 12:56:02,592 [59] INFO  Umbraco.Core.PluginManager - [Thread 50] Completed resolution of types of umbraco.interfaces.ICacheRefresher, found 20 (took 0ms)
            2015-08-10 12:59:39,326 [59] INFO  Umbraco.Core.Security.UmbracoMembershipProviderBase - [Thread 62] Login attempt succeeded for username xxx from IP address xx.xx.xx.xx
            2015-08-10 12:59:39,358 [59] INFO  Umbraco.Web.Security.WebSecurity - [Thread 62] User Id: 1 logged in
            2015-08-10 12:59:40,592 [59] INFO  Umbraco.Core.PluginManager - [Thread 7] Starting resolution types of umbraco.interfaces.IApplication
            2015-08-10 12:59:40,608 [59] INFO  Umbraco.Core.PluginManager - [Thread 7] Completed resolution of types of umbraco.interfaces.IApplication, found 7 (took 1ms)
            2015-08-10 13:15:08,313 [59] INFO  Umbraco.Core.Security.UmbracoMembershipProviderBase - [Thread 28] Login attempt succeeded for username xxx from IP address xx.xx.xx.xx
            2015-08-10 13:15:08,328 [59] INFO  Umbraco.Web.Security.WebSecurity - [Thread 28] User Id: 1 logged in
    
  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Aug 10, 2015 @ 11:42
    Alex Skrypnyk
    0

    Is everything ok with folders permission ?

  • Henrik Vincent 122 posts 616 karma points
    Aug 10, 2015 @ 11:49
    Henrik Vincent
    0

    I would believe so, since I haven't changed anything, from the old version of the site.

    But this kind of worries me

     2015-08-10 12:53:43,419 [59] ERROR umbraco.content - [Thread 61] Failed to load Xml from file.
            System.IO.FileNotFoundException: Could not find file 'd:\web\localuser\mysite\public_html\App_Data\umbraco.config'.
            File name: 'd:\web\localuser\mysite\public_html\App_Data\umbraco.config'
    

    It seems like, the system still thinks it's a local installation and not a live one.

    Is there something I should change in the webconfig?

    I published the site with WebMatrix.

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Aug 10, 2015 @ 13:25
    Alex Skrypnyk
    0

    You have to check permissions for /app_data folder.

    Another solution is to turn off umbraco.config caching, change 'XmlCacheEnabled' param in the umbracoSettings.config

    https://our.umbraco.org/documentation/Using-Umbraco/Config-files/umbracoSettings/

    Thanks, Alex

  • Henrik Vincent 122 posts 616 karma points
    Aug 10, 2015 @ 13:40
    Henrik Vincent
    0

    Hi Alex

    Thanks alot for your answers.

    I checked the permissions for the /app_data on the FTP, and all permissions are enabled.

    I will try changing XmlCacheEnabled to false, and do another test.

    Can changing this, cause any problems with the other functionalities on the site?

    Kind regards Henrik

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Aug 10, 2015 @ 13:42
    Alex Skrypnyk
    0

    It can create some performance problem, but not all the time. And it can't broke the site definitely.

    Thanks, Alex

  • Henrik Vincent 122 posts 616 karma points
    Aug 10, 2015 @ 13:59
    Henrik Vincent
    0

    So from what I could read in the documentaion the XmlCacheEnabled should be added to the Content section of the config file.

    Tried adding this in the umbracoSettings.config in the section.

    <XmlCacheEnabled>False</XmlCacheEnabled>
    

    But when I do this, I get the Umbraco welcome screen, when trying to access my website. enter image description here

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Aug 10, 2015 @ 14:05
    Alex Skrypnyk
    0

    XmlCacheEnabled: Turn Xml caching of content on/off. Umbraco Makes heavy use of caching content in memory to avoid database calls. This makes umbraco faster and more efficient. You should not in any way turn this off, unless you have a very good reason to do so. It will make your website very slow.

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Aug 10, 2015 @ 14:05
    Alex Skrypnyk
    0

    So maybe problem not only with this file ? Did you check connection string ?

  • Henrik Vincent 122 posts 616 karma points
    Aug 10, 2015 @ 14:11
    Henrik Vincent
    0

    When I checked the umbracoSettings.config in the first place, XmlCacheEnabled wasn't in the file.

    So tried adding it to the < content > section, since XmlCacheEnabled was under the content section.

    The connection string to the DB?

    I guessed that was in order, since I can still do an immediate save/publish without any problems.

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Aug 10, 2015 @ 14:26
    Alex Skrypnyk
    0

  • Henrik Vincent 122 posts 616 karma points
    Aug 10, 2015 @ 14:30
    Henrik Vincent
    0

    I'm guessing this is alright

    <add name="umbracoDbDSN" connectionString="Data Source=|DataDirectory|\Umbraco.sdf;Flush Interval=1;" providerName="System.Data.SqlServerCe.4.0" />
    
  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Aug 10, 2015 @ 14:31
    Alex Skrypnyk
    0

    is it ok with Umbraco.sdf file ?

  • Henrik Vincent 122 posts 616 karma points
    Aug 11, 2015 @ 06:31
    Henrik Vincent
    0

    Yea that's the name of the db.

    Could it have something to do with the flushinterval?

    I know I had some other problems with that in the past

  • Mpumzi Gedeni 4 posts 24 karma points
    Sep 08, 2016 @ 12:16
    Mpumzi Gedeni
    0

    Had the same issue managed to resolve it by doing the below steps:-

    1. Save and publish the article.
    2. Unpublish the article.
    3. Now set the "publish at" date.
    4. Save the article by clicking on "Save" (Do not click on "save and publish")
Please Sign in or register to post replies

Write your reply to:

Draft