Copied to clipboard

Flag this post as spam?

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


  • Jesper Lysgaard 12 posts 122 karma points
    Mar 05, 2019 @ 09:33
    Jesper Lysgaard
    0

    Only recycle bin left in backend

    Hi, After a publish all our nodes is missing from the backend.

    The frontend works fine.

    Nodes are present in database. We are using 7.12.2

    Any ideas?

    /Jesper

  • Bo Damgaard Mortensen 719 posts 1207 karma points
    Mar 05, 2019 @ 09:40
    Bo Damgaard Mortensen
    0

    Jesper: can you hit F12 in your browser, refresh the page (Umbraco backend) and go to Console. Any errors there?

  • Jesper Lysgaard 12 posts 122 karma points
    Mar 05, 2019 @ 09:45
    Jesper Lysgaard
    0

    Hi Bo,

    No root element found.

    enter image description here

  • Bo Damgaard Mortensen 719 posts 1207 karma points
    Mar 05, 2019 @ 09:51
    Bo Damgaard Mortensen
    0

    It could be related to a known bug for < Umbraco v. 7.1.9 where /config/applications.config is cleared.

    Can you check your applications.config and see if it's empty? :-)

  • Jesper Lysgaard 12 posts 122 karma points
    Mar 05, 2019 @ 09:55
    Jesper Lysgaard
    0

    applications.config:

        <?xml version="1.0" encoding="utf-8"?>
    <applications>
      <add alias="content" name="Content" icon="traycontent" sortOrder="0" />
      <add alias="media" name="Media" icon="traymedia" sortOrder="1" />
      <add alias="settings" name="Settings" icon="traysettings" sortOrder="2" />
      <add alias="developer" name="Developer" icon="traydeveloper" sortOrder="3" />
      <add alias="users" name="Users" icon="trayuser" sortOrder="4" />
      <add alias="member" name="Members" icon="traymember" sortOrder="5" />
      <add alias="forms" name="Forms" icon="icon-umb-contour" sortOrder="6" />
      <add alias="translation" name="Translation" icon="traytranslation" sortOrder="7" />
    </applications>
    
  • Bo Damgaard Mortensen 719 posts 1207 karma points
    Mar 05, 2019 @ 09:56
    Bo Damgaard Mortensen
    0

    Alright, thanks!

    We'll have to dig through the logs, I think. Can you check the latest log file found in /App_Data/Logs and find the No root element found exception?

    Perhaps/hopefully it tells us, which XML file is empty :-)

  • Bo Damgaard Mortensen 719 posts 1207 karma points
    Mar 05, 2019 @ 10:10
    Bo Damgaard Mortensen
    0

    As a follow-up question, is the umbraco.config file (located at /App_Data/umbraco.config) empty?

  • Jesper Lysgaard 12 posts 122 karma points
    Mar 05, 2019 @ 10:23
    Jesper Lysgaard
    0

    Hi,

    The umbraco.config is not empty.

    I get a lot of different exceptions and warnings in the log. Eg.:

      WARN  Umbraco.Core.Services.ApplicationTreeService - The tree definition: <add application="settings" alias="dictionary" title="Dictionary" type="umbraco.loadDictionary, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="6" /> could not be resolved to a .Net object type
    

    And:

    [P12976/D2/T141] WARN  Umbraco.Web.UmbracoModule - Status code is 404 yet TrySkipIisCustomErrors is false - IIS will take over.
    

    I will continue to examine the logs...

  • Bo Damgaard Mortensen 719 posts 1207 karma points
    Mar 05, 2019 @ 10:34
    Bo Damgaard Mortensen
    0

    Hmm, i'd be more interested in errors/exceptions than warnings. Can you try to reload the backoffice and then check the log after? The exception should be at the bottom of the log file then :-)

  • Nik 1599 posts 7179 karma points MVP 6x c-trib
    Mar 05, 2019 @ 10:40
    Nik
    1

    Hey Jesper,

    Did you, by some chance, upgrade the website from a version that was older than version 7.7?

    If so, it might be that your user group doesn't have a start node set for media and content.

    I'd check that all user groups have start nodes configured even it is the root media node and the root content node (root in this case is "Media" and "Content" respectively and not a node you've created).

    Thanks

    Nik

  • Jesper Lysgaard 12 posts 122 karma points
    Mar 05, 2019 @ 10:42
    Jesper Lysgaard
    0

    Hi Nik,

    I will examine this.

    /Jesper

  • Jesper Lysgaard 12 posts 122 karma points
    Mar 05, 2019 @ 10:53
    Jesper Lysgaard
    0

    Unfortunately this does not solve the issue. But thanks for the suggestion. /Jesper

  • Jesper Lysgaard 12 posts 122 karma points
    Mar 05, 2019 @ 10:40
    Jesper Lysgaard
    0

    I cleared cookies and cache and did a reload:

    Only log entries:

     2019-03-05 11:37:30,569 [P95236/D9/T91] INFO  Umbraco.Core.Security.BackOfficeSignInManager - Event Id: 0, state: User: [email protected] logged in from IP address xxx.xxx.xxx.xxx
     2019-03-05 11:37:30,776 [P95236/D9/T33] WARN  Umbraco.Core.Services.ApplicationTreeService - The tree definition: <add application="settings" alias="dictionary" title="Dictionary" type="umbraco.loadDictionary, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="6" /> could not be resolved to a .Net object type
    
  • Bo Damgaard Mortensen 719 posts 1207 karma points
    Mar 05, 2019 @ 10:59
    Bo Damgaard Mortensen
    0

    Hmm, a few other things:

    • Does the site (frontend) work? Or are you getting any YSODs there? If you get an YSOD, can you paste the stack trace here?
    • in App_Data/config there's a handful .config files, can you check each of them to make sure there're not empty?
    • In the Content section, right click the "Content" label above the recycle bin and hit "Republish entire site" (don't think that helps any, but it's worth a shot :-))
  • Jesper Lysgaard 12 posts 122 karma points
    Mar 05, 2019 @ 11:04
    Jesper Lysgaard
    0

    Hi Bo,

    1. The frontend works.

    2. I will examine the config files..

    3. I have tried to Republish. Unfortunatly it does not solve the issue.

    Thank you very much for digging into this.

    /Jesper

  • Bo Damgaard Mortensen 719 posts 1207 karma points
    Mar 05, 2019 @ 12:19
    Bo Damgaard Mortensen
    1

    Another pondering: what happens if you (while logged in to the Umbraco backoffice) enter the URL in the browser: http://yourdomain.com/umbraco/backoffice/UmbracoApi/Content/GetById?id=1059

    Would be neat to know which XML file is empty ;-)

  • Jesper Lysgaard 12 posts 122 karma points
    Mar 05, 2019 @ 12:26
    Jesper Lysgaard
    0

    It gives a blank html page. All ID's I try this way returns a blank page.

    I can see that the node ID's are present in the database...

    /Jesper

  • Jesper Lysgaard 12 posts 122 karma points
    Mar 06, 2019 @ 11:19
    Jesper Lysgaard
    100

    Ok. I found the problem after running through the tables looking for the needle in the haystack. Somehow the boolean field "newest" in the database table "cmsDocument" was changed to "False" on the root node:

    enter image description here

    After changing it to "True" everything works as before.

    This was somehow possible for one of our editors (they are not admins) to do from the backend without intension, which I find a bit disturbing.

    /Jesper

Please Sign in or register to post replies

Write your reply to:

Draft